generateSourcesSpreadsheet: This function was used to initially create the...

View source: R/exclusions.r

generateSourcesSpreadsheetR Documentation

This function was used to initially create the data/sources.csv spreadsheet which provides the source of data for each data file ('obj') in the dictionary. This information is then used to determine which bits of data to remove to satisfy exclusion lists. Sources include mother, mother_clinic, mother_quest, partner, partner_clinic, partner_quest, child_based and child_completed. Sources can for the most part be determined automatically from the 'path' information provided for each variable in the dictionary.

Description

sources <- generateSourcesSpreadsheet() utils::write.csv(sources, file="data/sources.csv", row.names=FALSE)

Usage

generateSourcesSpreadsheet()

explodecomputer/alspac documentation built on June 12, 2025, 2:02 p.m.