Baby Steps in Data Journalism

Starting from zero, this Tumblr provides tools, links and how-to information for people just beginning to explore data journalism.
Recent Tweets @macloo
Posts tagged "GitHub"

Introduction for absolute beginners. Assumes you are a solo user, just getting started, for the first time. 

"The entire Pro Git book, written by Scott Chacon and published by Apress, is available here. All content is licensed under the Creative Commons Attribution Non Commercial Share Alike 3.0 license." 

"Quickly publish beautiful pages for you and your projects." 

Idea for teaching:

If each student sets up a free GitHub account —

They can make Gists, like this:

https://gist.github.com/macloo/5363602

Could these be used for peer grading? Easy to share.

Once the student has a GitHub account, he/she can write code in Codepen (http://codepen.io/) and automatically save to Gist from there.

Now, THIS is useful!!

This is a how-to.

At some point you may find yourself wanting to contribute to someone else’s project, or would like to use someone’s project as the starting point for your own. This is known as “forking.”

After you fork someone else’s repo (repository), it still exists only on GitHub. “To be able to work on the project, you will need to clone it to your local machine.”

Instructions are included.

Some things a beginner does not know:

The popular version control system used to be Subversion. Now it’s Git.

Git is faster than Subversion.

A version control system is “a simple command line tool for keeping a history on the state of your source code projects.” In other words, you preserve your old versions.

Branches:

Git developers routinely create, merge and destroy multiple branches a week, or even per day. Often each feature or bug you are working on can have its own branch, merged in only when it is complete.

> Download Git

.

futurejournalismproject:

NPR Apps best practices for READMEs, HTML & CSS, Javascript, GIT, and more.

Not only useful for wannabe journo-coders, but also helps you get a sense of NPR tackling traditional journalism issues like style consistency beyond the written copy in the modern technology. And props to them for making it available on GitHub.

milwaukeestat:

A good friend of mine recently questioned why I’d ever want to learn R or Python programing languages.

Yet, most of the good examples of code for data analysis and visualization that I have come across tend to be in either Python or R. So, I think I’ll stay the course with R and see if I can’t make some time for Python in the coming year.

(above: GitHub programming language usage)

jaheppler:

via JasonHeppler.org - History in the Digital

(via lifeandcode)

Learn by doing, the Code School way (free, online):

Git is a crucial part of many web design & development workflows, but there are still far too many people intimidated by it. It’s really not that difficult, and you have the basics down you can easily join the blossoming GitHub open-source ecosystem.

I’ve written before about GitHub.