References and Resources
Lab Notes
Data Import/Export
Datasets
- State level SAT data
Use read.csv("http://people.reed.edu/~jones/141/sat.csv") to load.
- CPS data
Use read.csv("http://people.reed.edu/~jones/141/cps.csv") to load.
- Anorexia Study data
- Anscombe's data
- Berkeley Guidance Study data load with
read.table("http://people.reed.edu/~jones/141/Berkeley.dat",header=TRUE)
- Birth Weight data
Birth Weight csv file
- Bortkiewicz's horse kick data
- Brain/Body size data
- Braking Distance data
- Science Library Budgets
- Sir Cyril Burt's Twin Study
- 1993 Consumer Reports Auto data
- CD4 dataset from Gelman and Hill
Load with
read.csv("http://people.reed.edu/~jones/141/CD4.csv")
- British Coal Mining Disasters
- Mauna Loa CO2 data
Mauna Loa CO2 Description
Load with:
read.table("http://people.reed.edu/~jones/141/co2.dat",header=TRUE)
Sample R script
- Cuckoo Egg Data
- Crab Growth data
- Horseshoe Crab Nesting Data
from J. Brockmann, Ethology 1996, load with
read.table("http://people.reed.edu/~jones/141/CrabSatellite.dat",header=TRUE)
- Darwin's Zea mays data
- Death Penalty and race
- Election 2008 state level data. Load with
read.table("http://people.reed.edu/~jones/141/Election08.dat",header=TRUE)
- Florida Election 2000 data
- Framingham Heart Study
- 1972 Fuel Consumption data
- Snow Goose Survey data
- Glucose Tolerance test data
- Gun registration data
- Highway Accidents or use
Accidents <- read.csv("http://people.reed.edu/~jones/141/Hwy.csv")
- Horseshoe crab data Load with
read.table("http://people.reed.edu/~jones/141/HorseshoeCrab.dat",header=TRUE)
- Michelson's data
or read.table("http://people.reed.edu/~jones/141/Michelson.R",header=TRUE)
- Seismological data read with
scan("http://people.reed.edu/~jones/141/MSH.html")
- Simon Newcomb's data
- Shuttle O-Ring data Or load with
read.csv("http://people.reed.edu/~jones/141/ORings.csv")
- Snow Gauge data
- Vitamin C data
- Income Tax Data Load with
read.csv("http://people.reed.edu/~jones/141/Taxes.csv"),
source
- Where's Waldo?
read.table("http://people.reed.edu/~jones/141/Waldo.dat",header=TRUE)
Choropleths
Mac specific version!
Example: Unemployment data
FIPS data, Mac version.
Generic versions
Example: Unemployment data
FIPS data, long version ,
and a slightly abridged version, for matching by FIPS codes
FIPS data, short.
Finally, FIPS data, long version,
with codes in character format.
The long version has repetitions to allow matching with the
R maps() county names for counties that are geographically
disconnected.
R Functions and scripts
Albyn Jones
September 2007