Package: alspac 0.49.0

Matt Hardcastle

alspac: Data dictionary for ALSPAC

Functions to search and extract variables based on keywords from the ALSPAC data dictionary.

Authors:Gibran Hemani [aut], Matthew Suderman [aut], Matt Hardcastle [aut, cre], Tom Palmer [aut]

alspac_0.49.0.tar.gz
alspac_0.49.0.zip(r-4.7)alspac_0.49.0.zip(r-4.6)alspac_0.49.0.zip(r-4.5)
alspac_0.49.0.tgz(r-4.6-any)alspac_0.49.0.tgz(r-4.5-any)
alspac_0.49.0.tar.gz(r-4.7-any)alspac_0.49.0.tar.gz(r-4.6-any)
alspac_0.49.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
alspac/json (API)

# Install 'alspac' in R:
install.packages('alspac', repos = c('https://mrcieu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/alspac/alspac/issues

Datasets:

On CRAN:

Conda:

5.15 score 11 stars 43 scripts 14 exports 33 dependencies

Last updated from:ace7165896. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK125
source / vignettesOK224
linux-release-x86_64OK120
macos-release-arm64OK76
macos-oldrel-arm64OK110
windows-develOK67
windows-releaseOK77
windows-oldrelOK88
wasm-releaseOK116

Exports:checkDictionariescreateDictionarydictionaryGoodexportDictionaryextractDatasetextractVarsextractWebOutputfilterVarsfindVarsgetDefaultDataDirreadExclusionsremoveExclusionssetDataDirupdateDictionaries

Dependencies:bitbit64clicliprcpp11crayondplyrforcatsgenericsgluehavenhmslifecyclemagrittrpillarpkgconfigplyrprettyunitsprogressR6Rcppreadrreadstata13rlangstringistringrtibbletidyselecttzdbutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Add data sources information to the dictionary from the extdata/sources.csv file. See generateSourcesSpreadsheet() for details about creating this file. This information is used when decide which data values to remove for participants who have withdrawn consent.addSourcesToDictionary
Check dictionariescheckDictionaries
Create a dictionary from ALSPAC Stata filescreateDictionary
Current datacurrent
Checks a dictionarydictionaryGood
Export the updated dictionary into the package source (maintainers)exportDictionary
Extract a dataset for external ALSPAC usersextractDataset
Extract variables from dataextractVars
Extract variables exported from the ALSPAC variable lookup web appextractWebOutput
Filter duplicate variables from findVarsfilterVars
Find variablesfindVars
This function was used to initially create the inst/extdata/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.generateSourcesSpreadsheet
Guess the default data directorygetDefaultDataDir
Get list of ALNs to excludereadExclusions
Remove data for participants who have withdrawn consent.removeExclusions
Set the data directorysetDataDir
Update dictionariesupdateDictionaries