View source: R/load_bper_data.R
load_bper_data | R Documentation |
impute_ethnorace
functionThis function retrieves the demographic data for use in
impute_ethnorace
.
load_bper_data(
input_data,
year,
census_key = NULL,
ll = list(last_name = 1, first_name = 1, state = 1, county = 1, zip = 1, place = 1,
tract = 1, district = 1, block = 1),
...
)
input_data |
The input data frame containing the individuals whose
ethnorace the user wants to impute. The following input variables are
supported: |
year |
The year for which Census data will be loaded. The function will retrieve the closest available Census data for the year. |
census_key |
Personal Census API key. See https://api.census.gov/data/key_signup.html |
A list with data objects necessary for
impute_ethnorace
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.