View source: R/calculate_difference_field.R
calculate_difference_field | R Documentation |
Calculate the difference between ACS variables
calculate_difference_field( con, variable_name, lhs_cols, rhs_cols, geography, keys, params )
con |
A database connection |
variable_name |
Name of the variable to derive |
lhs_cols |
Variable or variables to subtract from. Multiple values will be summed. |
rhs_cols |
Variable or variables to subtract from lhs_cols. Multiple values will be summed. |
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.