Big-Life-Lab / cchsflow

Variable transformation and harmonization for the Canadian Community Health Survey
https://big-life-lab.github.io/cchsflow/
Other
11 stars 7 forks source link

Provide support for Python, SAS and Stata #4

Closed DougManuel closed 5 months ago

DougManuel commented 5 years ago

Create a SAS macro or Python, Stata function to transform CCHS variables using variables.csv and variableDetails.csv.

rec_with_table() is the function that supports almost all of cchsflow. This function is a straightfoward extension of common recode functions. The difference is that rec_with_table uses a data frame as opposed to the more common approach of hard coding transformation attributes.

SAS and Stata are commonly used statistical packages for the CCHS community.