xwalk_county: Collapse County-Level Data to New Baseline Borders

Description Usage Arguments

Description

Take county data, identify variables of interest, standardize borders to baseline

Usage

1
2
xwalk_county(data, y0, yb, merge_key = c("state", "county"),
  var_value = NULL, var_count = NULL)

Arguments

data

county level data (likely from ICPSR 2896)

y0

initial year of data

yb

baseline year to transform data towards

merge_key

vector identifying the ICPSR state and county code if using ICPSR 2896, this is just state and county like so: c("state", "county")

var_value

variables that are values like average temperature or average wage as a vector like c("avgtemp", "avgwage")

var_count

variables that are counts like population or number of farms as a vector like c("totpop", "urb25")


jamesfeigenbaum/xwalkcounties documentation built on May 13, 2019, 11:26 a.m.