clean_to1: Prepare the raw TO1 extracts for use.

Description Usage Arguments Details Value

View source: R/clean_to1.r

Description

This function converts the zipped .csv extracts from the DMS website into a list of data.frames (one for each table) that have been cleaned up for use in R.

Usage

1
clean_to1(extractfile)

Arguments

extractfile

A zip file containing the ten .csv files from the DMS data extract page.

Details

This funciton makes several modifications that greatly improve the usability of the DMS extracts within R:

Value

This function returns a data.frame of participants who are eligible for follow-up, including study ID, original visit date, the date the person became eligible for this follow-up period, the end date of the eligibility period, the number of days until the end of the follow-up period, and and indicator of whether the follow-up has been completed. The data.frame is ordered by days left to complete the interview.


mmparker/to1check documentation built on May 23, 2019, 5:05 a.m.