Skip to content

kvntchn/gm-wrangling

Repository files navigation

title subtitle author date
Readme
GM-UAW Cohort Study
Kevin Chen
July 2, 2020

This repository contains the relevant code for loading and reshaping the UAW-GM Cohort data in the R programming environment. The main scripts are found in the directory named wrangling. Sourcing 00-hello.R will source all relevant scripts in the directory in the correct order.

Once sourced, the user will have access to the original cohort data dta, a cleaned up version cohort, and all the necessary functions for setting up a "long" analytic file for common epidemiologic analyses. The function get.cohort_analytic() returns an analytic dataset starting at hire and ending with death. Use flags such as right.censored and immortal to select the correct rows, as deemed appropriate.

About

Get and reshape UAW-GM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages