knitr::opts_chunk$set(echo = TRUE)
These two functions are used to call the two respective kinds of crosswalks available in this package - weighted, and nested crosswalks.
mapcdatakeys::crosswalk_wtd(geography, vintage)
This is a function to call desired weighted crosswalk for population and housing unit values in desired census geographies and vintage.
It requires two arguments:
geography: It can either be 'block', 'block group', 'tract', or 'county subdivision'
vintage: Currently available for either 2010 or 2020 census geographies. For municipalities, either vintage will provide the same data.
head(mapcdatakeys::crosswalk_wtd(geography = 'tract', vintage = 2010))
head(mapcdatakeys::crosswalk_wtd(geography = 'block group', vintage = 2020))
mapcdatakeys::crosswalk_wtd(geography, vintage)
This is a function to call desired nested crosswalk for census geographies and vintage.
It requires one argument:
head(mapcdatakeys::crosswalk_geog(year = 2020))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.