Description Usage Arguments Value
get_densities
wrapper function that allows user to subset data from
various sources.
If only county is specified (other parameters = ""), it provides
national level data.
Currently for US, if state(s) is specified, then it returns
lowest geographical level (state or county) that it has
within those specified state(s).
If county is also specified (and the dataset contains counties), then only
those counties within the state(s) are returned.
If county is also specified (and the dataset contains counties), then only
those counties within the state(s) are returned.
1 | get_densities(country = "", state = "", county = "")
|
country |
Country of desired data. |
state |
State of desired data. |
county |
County of desired data. |
reload |
Flag (default is FALSE) of whether to redownload and process the data file. |
A data.frame with population density of desired country/state/county.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.