createDictionary: Create a dictionary from ALSPAC STATA files

Description Usage Arguments Value

View source: R/dictionary.R

Description

Create a dictionary from ALSPAC STATA files

Usage

1
createDictionary(datadir = "Current", name = NULL)

Arguments

datadir

ALSPAC data subdirectory from which to create the index (Default: "Current"). It could be "Current" or "Useful_data".

name

If not NULL, then the resulting dictionary will be saved to a file in the R package for use next time the package is loaded. The dictionary will be available with the given name (Default: NULL).

The function uses multiple processors using mclapply(). Use multiple processors by setting mc.cores option using options().

Value

Data frame dictionary listing available variables.


explodecomputer/alspac documentation built on Sept. 14, 2020, 1:10 a.m.