Datafiles

In our examples, we use publicly-available data sources, as much as possible. For your convenience, we included a link to the datafiles we use.

Air Quality US Cities
air-quality-over-time.csv
CA College Readiness
ca-graduation-rates.csv
California School and School District Performance

The following files have been adapted from California Department of Education's API Data Files for 2013 Growth API. They represent the measurements of California school performance by district, and by school.

Record layout appears here: http://www.cde.ca.gov/ta/ac/ap/reclayout13g.asp.

Flag values appear here: http://www.cde.ca.gov/ta/ac/ap/flagdef13g.asp.

Here are additional files for supplementing the data in the two main files:

Campaign
campaign.csv
Canadian Census
Capital Expenditure by Industry
annual-capital-expenditure-industry.csv
Cereals
cereals.csv
Customer Value Analysis
Analysis of customers that lease automobiles: customer-value-analysis.csv.
Bureau of Transportation Statistics

These files represent data regarding On-Time Performance of Air Carriersobtained from the following URL: https://www.transtats.bts.gov/DL_SelectFields.asp.

EPA Data 2015
epa_annual_2015.csv
HUD Residential/Business Ratios
hud-zip-county-122010.csv
Geographic Features

Geographic Features (for the US), found on United States Board on Geographic Names Website. We recommend downloading the latest All States Zip file.

Iris
iris.csv
Income Tax Returns

Recently published summary data on Individual Tax Returns:

Source: Internal Revenue Service (SOI Stats): https://www.irs.gov/statistics/soi-tax-stats-individual-income-tax-statistics-2016-zip-code-data-soi

See also the supplemental data for US Regions at us_regions.csv, and for mapping zipcodes to latitude and longitude at zipcode-lat-long.csv.

NCAA Basketball

ncaa_basketball_results.csv for years 1985 through 2018. Original data courtesy of data.world NCAA Tournament Results, a dataset compiled by Michael Roy.

ncaa_regions.csv

Additional information can be found on the Wikipedia List of NCAA Division I men's basketball programs.

New York Taxicab Rides
US State Information
  • State Abbreviations

    state-abbreviations.csv, contains abbreviations, full names, and country designation for all US States, US Commonwealths and Territories, Canadian Provinces and Territories, and Mexican States; 3-column table.

  • State Names

    state-names.csv, contains abbreviations and full names for all US States and Canadian Provinces and Territories, 2-column table.

TV Home Viewing, with DMA
dma-tv-home-viewing.csv
San Francisco Police Department Incidents

sfpd-incidents.csv.zip, with Latitude and Longitude, for 2010 through 2015

San Francisco Cab Ride Distribution
sf-cabride-distribution.csv
S&P 500 Historical Monthly
SnP500.csv
Shakespeare's Works

This tab-delimited file contains the 154 sonnets attributed to William Shakespeare: shakespeare_sonnets.csv. The text of the sonnets is in the public domain.

This semicolon-delimeted file contains the text of all plays authored by William Shakespeare: shakespeare_play_text.csv. We derived this file from the William Shakepeare Plays archive on Datahub; it is in the public domain.

Encyclopedia of Stars

suns.csv, adapted from www.astronexus.com, and used by permission from David Nash.

US Census
census-pop.csv.zip or census-pop.csv, population by state, for 1790 - 2010
census-pop-curent.csv, population by state, for 1790 - 2017
pop-2011-2017.csv, population by state, for 2011 - 2017
us_regions.csv
US Counties
us-counties.csv.zip
US Trade

Exports, Imports and Trade Balance by Country, Monthly totals, 1985-present: us-trade.csv.

Source: United States Census Bureau: https://www.census.gov/foreign-trade/statistics/country/index.html.

World Literacy Rates

A series that represents the literacy rate, in percentage, for various countries or regional entities, over time: cross-country-literacy-rates.csv

Source: Our World in Data: Literacy: https://ourworldindata.org/literacy