RcensusPkg
Easily Access US Census Bureau Survey and Geographic Data
The key function 'get_vintage_data()' returns a dataframe and is the window into the Census Bureau API requiring just a dataset name, vintage(year), and vector of variable names for survey estimates/percentages. Other functions assist in searching for available datasets, geographies, group/variable concepts of interest. Also provided are functions to access and layer (via standard piping) displayable geometries for the US, states, counties, blocks/tracts, roads, landmarks, places, and bodies of water. Joining survey data with many of the geometry functions is built-in to produce choropleth maps.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.5 |
rolling linux/jammy R-4.5 | RcensusPkg_0.1.5.tar.gz |
233.9 KiB |
0.1.5 |
rolling linux/noble R-4.5 | RcensusPkg_0.1.5.tar.gz |
233.4 KiB |
0.1.5 |
rolling source/ R- | RcensusPkg_0.1.5.tar.gz |
85.1 KiB |
0.1.5 |
latest linux/jammy R-4.5 | RcensusPkg_0.1.5.tar.gz |
233.9 KiB |
0.1.5 |
latest linux/noble R-4.5 | RcensusPkg_0.1.5.tar.gz |
233.4 KiB |
0.1.5 |
latest source/ R- | RcensusPkg_0.1.5.tar.gz |
85.1 KiB |
0.1.5 |
2026-04-26 source/ R- | RcensusPkg_0.1.5.tar.gz |
85.1 KiB |
0.1.5 |
2026-04-23 source/ R- | RcensusPkg_0.1.5.tar.gz |
85.1 KiB |
0.1.5 |
2026-04-09 windows/windows R-4.5 | RcensusPkg_0.1.5.zip |
238.0 KiB |
0.1.5 |
2025-04-20 source/ R- | RcensusPkg_0.1.5.tar.gz |
85.1 KiB |
Dependencies (latest)
Imports
- ggplot2 (>= 3.5.1)
- data.table (>= 1.16.4)
- httr2 (>= 1.1.2)
- downloader (>= 0.4.1)
- jsonlite (>= 1.8.9)
- stringr (>= 1.5.1)
- purrr (>= 1.0.2)
- sf (>= 1.0-19)
- ggplotify (>= 0.1.2)
- gtable (>= 0.3.6)
- RplotterPkg (>= 0.1.3)