31
DATA JOURNALISM 101 MICHAEL J. BERENS | [email protected] | @MJBERENS1 1

Data Journalism 101 - Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

Embed Size (px)

DESCRIPTION

Pulitzer winner Michael J. Berens of The Seattle Times teaches journalists the basics of working with data to create powerful stories. He discusses file types and layouts, best practices in working with data, several federal websites with downloadable data, and data analysis using sorting, filtering and calculating. This presentation -- Data Journalism 101 -- was part of the Las Vegas NewsTrain on Oct. 10-11, 2014. Please see an associated handout: The Data Journalist Checklist. NewsTrain is a traveling workshop for journalists sponsored by Associated Press Media Editors. For more information, visit http://www.apme.com/?AboutNewsTrain

Citation preview

Page 1: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

DATA JOURNALISM 101

MICHAEL J. BERENS | [email protected] | @MJBERENS1

1

Page 2: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

2

The Death Ray No piece of information

is insignificant

Page 3: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

3

The Death Ray

Page 4: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

4

How to request data

1 - Fixed Width

2 - Delimited

Page 5: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

5

Preferred format:

Comma delimited text file

Page 6: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

COMMA DELIMITED “RAW” DATA

6

Text for slides is ARIAL (BODY)

36 PT

Page 7: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

7

Page 8: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

Field

Number Variable Type Format Label Comment

1 SEQ_NO Char $10. Sequence Number

Unique sequence number assigned to each record within a year. First

four digits are the year of discharge.

2 REC_KEY Num 11. Record Key Unique number assigned to each CHARS record. Added in 2003.

3 STAYTYPE Char $1 Type of Stay

1 = Inpatient

2 = Observation patient

4 HOSPITAL Char $4 Hospital Number

DOH assigned hospital number.

Fourth character describes the Medicare certified unit type with:

blank = acute care

R = Rehabilitation unit

P = Psychiatric unit

S = Swing bed unit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

A = Alcohol (discontinued after 1992)

B = Bone marrow transplants (discontinued after 2000)

E = Extended care (discontinued after 2001)

H = Tacoma General & Group Health combined (discontinued after 1992)

I = Group Health only at Tacoma General (discontinued after 1992)

5 LINENO Num 3. Number of Reported Revenue Items Codes

6 ZIPCODE Char $5 Patient's Zip Code

99999 indicates the zip code is unknown.

99998 indicates homelessness (some homeless patients may have a zip code for a

shelter or other temporary location).

Blanks indicate non-U.S. residence.

7 STATERES Char $2 State of Residence

State abbreviation used by U.S. Postal Service.

This is assigned from the zip code.

Residents with zip code 99998 are assigned to Washington

XX = invalid zip code or a non-U.S. residence.

Page 9: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014
Page 10: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014
Page 11: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014
Page 12: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

REPORTING TIP

Make a master copy

12

Page 13: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

REPORTING TIP

Keep a log

13

Page 14: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

DELIMITED FILE

14

Text for slides is ARIAL (BODY)

36 PT

Page 15: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

HUNTING DATABASE

15

Text for slides is ARIAL (BODY)

36 PT

Page 16: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

OTHER TYPES OF DELIMITERS

16

Page 17: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

FIXED WIDTH

17

Page 18: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

FIXED WIDTH

18

Page 19: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

FPDS.GOV

19

Page 20: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

SEARCHING FOR MICROSOFT

20

Page 21: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

CSV = EXCEL FORMAT

21

Page 22: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

INSTANT DATABASE

17,583 RECORDS

22

Page 23: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

FDA.GOV

23

Page 24: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

24

Page 25: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

WEB SCRAPING – COPY / PASTE

25

Page 26: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

WORKING

WITH DATA

SORT * FILTER *

CALCULATIONS

Page 27: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

THE TIP

It’s hunting season, again, and your editor wants a

daily story about this seasonal rite of passage.

What is the most common type of injury?

What day was the deadliest for hunters?

How often is impairment (drugs / alcohol) a factor?

And dozens of other questions

“Interview the data”

Page 28: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

HUNTING DATABASE

Page 29: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

THE TIP

•Sources say that football coaches routinely

earn higher salaries than the most experienced

teachers.

•Anecdotally, it appears to be true but other

sources say it’s an isolated issue.

•How do you attack the story and QUANTIFY

the issue conclusively – avoiding the he said,

she said conundrum?

Page 30: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

CALCULATIONS

Page 31: Data Journalism 101 -  Michael J. Berens - Las Vegas NewsTrain - Oct. 10-11, 2014

Don’t be obsolete

Journalism is a

continuing

education job

31