calculate_difference_field: Calculate the difference between ACS variables

View source: R/calculate_difference_field.R

calculate_difference_fieldR Documentation

Calculate the difference between ACS variables

Description

Calculate the difference between ACS variables

Usage

calculate_difference_field(
  con,
  variable_name,
  lhs_cols,
  rhs_cols,
  geography,
  keys,
  params
)

Arguments

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

Value

A data frame


ruralinnovation/acsR documentation built on March 23, 2022, 12:09 a.m.