Description Usage Arguments Value Examples
NHGIS provides historical census data with fields named, for example AA001. For each csv file it provides a plain text codebook which explains the meanings of these codes. This function parses those codebooks and returns a data frame which can be merged back into the dataset to get the meanings of the codes.
1 | parse_nhgis_codebook(filename)
|
filename |
The path to an NHGIS codebook. |
A data frame with two columns code
and meaning
.
1 2 3 4 | sample_codebook <- system.file("extdata",
"nhgis0024_ds17_1870_county_codebook.txt",
package = "mullenMisc")
parse_nhgis_codebook(sample_codebook)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.