Description Usage Arguments Details
View source: R/county_profile.R
This API wrapper returns a dataframe of county-level demographic variables.
1 | county_profile(fips_list, year_list, vars = "", group = "none")
|
fips_list |
Numeric FIPS code(s) for the county (0 for the state) (no leading 0's) |
year_list |
Numeric list of years between 2010 and 2014 |
vars |
list of variables (noted in description) for API to pull Defaults to All |
These variables include:births, deaths, naturalincrease, netmigration, censusbuildingpermits, groupquarterspopulation, householdpopulation, households, householdsize, totalhousingunits, vacancyrate, vacanthousingunits
Note: Selecting all of the counties can be done by providing 300 as the fips_list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.