Package: us.census.geoheader 1.0.2

us.census.geoheader: US 2010 Census SF2 Geographic Header Summary Levels 010-050

A simple interface to the Geographic Header information from the "2010 US Census Summary File 2". The entire Summary File 2 is described at <https://catalog.data.gov/dataset/census-2000-summary-file-2-sf2>, but note that this package only provides access to parts of the geographic header ('geoheader') of the file. In particular, only the first 101 columns of the geoheader are included and, more importantly, only rows with summary levels (SUMLEVs) 010 through 050 (nation down through county level) are included. In addition to access to (part of) the geoheader, the package also provides a decode function that takes a column name and value and, for certain columns, returns "the meaning" of that column (i.e., a "SUMLEV" value of 40 means "State"); without a value, the decode function attempts to describe the column itself.

Authors:Greg Minshall [aut, cph, cre], United States Census Bureau [dtc]

us.census.geoheader_1.0.2.tar.gz
us.census.geoheader_1.0.2.zip(r-4.7)us.census.geoheader_1.0.2.zip(r-4.6)us.census.geoheader_1.0.2.zip(r-4.5)
us.census.geoheader_1.0.2.tgz(r-4.6-any)us.census.geoheader_1.0.2.tgz(r-4.5-any)
us.census.geoheader_1.0.2.tar.gz(r-4.7-any)us.census.geoheader_1.0.2.tar.gz(r-4.6-any)
us.census.geoheader_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
us.census.geoheader/json (API)

# Install 'us.census.geoheader' in R:
install.packages('us.census.geoheader', repos = c('https://greg-minshall.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://gitlab.com/minshall/us-census-geoheader

On CRAN:

Conda:

2.00 score 157 downloads 2 exports 10 dependencies

Last updated from:7f1e4f43cc. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK112
source / vignettesOK159
linux-release-x86_64OK112
macos-release-arm64OK118
macos-oldrel-arm64OK169
windows-develOK66
windows-releaseOK56
windows-oldrelOK63
wasm-releaseOK91

Exports:uscgh.2010.decodeuscgh.2010.sf2.geoheader

Dependencies:cligluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrs

a small tour of the geographic header (HTML)

Rendered froma-tour.html.asisusingR.rsp::asison Jun 06 2026.

Last update: 2020-06-25
Started: 2020-06-25