-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
70 lines (55 loc) · 2.6 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# About
[](https://travis-ci.org/jjchern/geocorr)
[](https://ci.appveyor.com/project/jjchern/geocorr)
`geocorr` is an R data package for a set of geographic crosswalk files
generated from the Missouri Census Data Center's [**Geo**graphic **Corr**espondence Engine: `MABLE/Geocorr14`](http://mcdc.missouri.edu/websas/geocorr14.html).
So far `geocorr` has 11 datasets:
- `geocorr::county2010_to_puma2000`: County10-PUMA00 Crosswalk File
- `geocorr::county2010_to_puma2012`: County10-PUMA12 Crosswalk File
- `geocorr::county2014_to_puma2000`: County14-PUMA00 Crosswalk File
- `geocorr::county2014_to_puma2012`: County14-PUMA12 Crosswalk File
- `geocorr::county2010_to_puma2000_pop14`: County10-PUMA00 Crosswalk File, with 2014 population as weights
- `geocorr::county2010_to_puma2012_pop14`: County10-PUMA12 Crosswalk File, with 2014 population as weights
- `geocorr::puma2000_to_puma2012`: PUMA00-PUMA12 Crosswalk File
- `geocorr::zcta2010_to_puma2000`: ZCTA10-PUMA12 Crosswalk File
- `geocorr::zcta2010_to_puma2012`: ZCTA10-PUMA12 Crosswalk File
- `geocorr::zcta2010_to_usd2010`: ZCTA10-Unified School District 2010 Crosswalk File
- `geocorr::zcta2010_to_usd2014`: ZCTA10-Unified School District 2014 Crosswalk File
The raw csv files, generated directly from [`MABLE/Geocorr14`](http://mcdc.missouri.edu/websas/geocorr14.html),
can be found in the [`\data-raw\` folder](https://github.com/jjchern/geocorr/tree/master/data-raw).
# Installation
```R
# install.packages("devtools")
devtools::install_github("jjchern/geocorr")
# To uninstall the package, use:
# remove.packages("geocorr")
```
# Usage
```{r}
library(dplyr, warn.conflicts = FALSE)
geocorr::county2010_to_puma2000
geocorr::county2010_to_puma2012
geocorr::county2014_to_puma2000
geocorr::county2014_to_puma2012
geocorr::county2010_to_puma2000_pop14
geocorr::county2010_to_puma2012_pop14
geocorr::puma2000_to_puma2012
geocorr::zcta2010_to_puma2000
geocorr::zcta2010_to_puma2012
geocorr::zcta2010_to_usd2010
geocorr::zcta2010_to_usd2014
```
# Reference
- [IPUMA: Description of PUMA](https://usa.ipums.org/usa-action/variables/PUMA)
- [PSC: Creating County-Level Statistics from Public Use Microdata Areas (PUMAS)](http://www.psc.isr.umich.edu/dis/census/Features/puma2cnty/)