View source: R/calculate_percent_change_field.R
calculate_percent_change_field | R Documentation |
Calculate change in a variable from one year to another
calculate_percent_change_field( con, variable_name, variable, derived_status, from_year, to_year, geography, keys, params )
con |
A database connection |
variable_name |
Name of the variable to be derived |
variable |
The ACS variable to calculate change in |
derived_status |
If TRUE, use MDA derived variable to calculate change |
from_year |
Base year for comparison |
to_year |
End year to calculate change against |
geography |
Geographic level of data |
keys |
Named list with the structure ‘list(geoid = X, year = ’year')', where X is variable name for the GEOID of the geography |
params |
List of params |
A data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.