First steps with data
Agenda
You might do the data dance when your FOIA is returned or you find a great dataset online. But you’ve only overcome the first challenge. The next one is to understand what the data represents – what noun each row represents, and what characteristic, or attribute, each column will show. Then you have to actually get it into R or any other program you want to use without corrupting it.
- Understanding data before you start (lab)
- Reviewing data import
Upcoming deadlines
- Today 10am: Data import walkthrough
- Wednesday: Hot 100 walkthrough walkthrough
- Mon Jan 29:
- What would you do? (25 pts)
- Filter and sort walkthrough
- Wed Jan 31:
- Mutate walkthrough
- Filter, sort & mutate lab
After this week, I won’t note the labs and walkthroughs in the upcoming deadlines. Assume you’ll have one every day. They will be shown in Canvas. (Sorry if that’s confusing – it means I don’t have to worry about conflicting instructions when they inevitably change.)
Preparation:
Your prepration may take a little longer this weekend – don’t leave it until the last minute.
(Please do these in the order listed)
Defining data We’ll come back to this later in the semester after you have some practice looking at data, but it’s useful to get familiar with the ideas now.
Getting and Saving Data and walkthrough. Be sure to focus on the part about data and file types – they’re important.
“Take an Interviewing Approach to Find Stories in Data”, by Derek Willis, Mediashift, July 2014.
“Basic steps in working with data”, the Data Journalism Handbook, Steve Doig, ASU Prof.
Come to class prepared to discuss a passage from one of the following pieces that caught your eye. Remember to analyze them as a reporter, not a casual media consumer. Think about why I might have chosen these three pieces.
Most of these relate to the pandemic and may feel dated. Try to digest them as examples of what data means, not the specifics of the stories. They may help you understand how to look at data dictionaries and the importance of granular data.
Listen to Rob Gebeloff from the New York Times talk about the difference between granular CDC data on infections and the summary data that was used by most reporters throughout the pandemic in The Daily’s “Counting the Infected” (gift link), The Daily, July 8, 2020.
(His part is the first 20 minutes or so. Pay particular attention to the part beginning at about 8:00 where he talks about the difference between aggregate and granular data, and what it takes to get the latter.)
“‘Very Harmful’ lack of data blunts US response to outbreaks - gift link”, Sharon LaFraniere, New York Times, September 2022. Pay particular attention to the flow chart on how the data is compiled. You will often have to piece together something like this when you start looking for records. The story reminds us not to assume we know what data exists.
“Thousands allowed to bypass environmental rules in pandemic”, Associated Press, August 2020. This is a great example of looking beyond the news in front of you to collect documents that show a pattern. It shows what can be done in just a couple of months by collecting 50 states’ worth of documents, once you know they should exist.
We measured pop music’s falsetto obsession, Vox, August 2019. This one reminds us that data is everywhere if we choose to look at it that way:
Class lab details
We will look at the promise and the limitations of working with the Phoenix Open Government’s version of the Police 911 calls for service.
Review the data elements available in Phoenix by expanding the data dictionary below the preview table. DO NOT START EXPLORING THE ACTUAL DATA.
Compare it to a more complete dataset made public by the New Orleans Police Department (be sure to expand the “Columns in this Dataset” area)
In groups, try to evaluate your assigned question without referring to anything other than the documentation on these datasets:
- What government agency did it originally come from, and what time period does it cover? What questions do you have about the columns’ meanings that you would have to ask the agency or experts? (Group 1)
- Come up with three interesting questions that might be answered by this dataset – questions that could lead to a news story.(Group 2)
- Come up with three interesting questions that you would like to write about but can’t be answered in the data’s current form. (Group 3)
- If you were to request this dataset from the original source, what other pieces of information would you ask that the government include in the data? Try to imagine what else would be in the data and should be a public record, and ignore things that wouldn’t ever be in it such as information from a court file related to this call.1(Group 4)
Remember that the real world process and the definitions of the data matter.
For example, a 911 call doesn’t necessarily mean a crime was committed - it means that the police were dispatched to a specific location. Also, 911 dispatchers don’t ask for someone’s race, ethnicity or DOB when they call – just what is happening and where they are. They don’t even require your name. And there are crimes committed that never have a 911 call – if a police officer sees someone selling drugs, there is no 911 call , just an arrest.
Going further
Here are some more examples of datasets coming from unexpected places: historical site lines, investigative files, and Hamilton.
This documentary and report by the independent firm Forensic Architecture in partnership with RISE St. James on environmental racism in “death alley”, Louisiana, is quite long. But it’s a great example of the emerging form of open source investigations that use imaging, historical site lines and similar non-traditional data in service of a larger piece, often conducted by human rights investigators rather than journalists. (I can’t get the direct link to work. If it won’t work for you, choose Investigations, and look for those in the United States. At this writing there were only two. )
“Locked up and left to die” , by Michael Barajas and Sophie Novack, Texas Observer, Nov. 1, 2021, is based largely on an ambitious attempts to catalog the contents of more than 400 investigative files on jail deaths.
And a shoutout to this incredible piece by The Wall Street Journal, tracing the roots of the musical and lyrical signatures in Hamilton
Footnotes
Hint: Look at the New Orleans version to see what else might be held in 911 systems in general.↩︎