createDictionary: Create a dictionary from ALSPAC Stata files

View source: R/dictionary.r

createDictionaryR Documentation

Create a dictionary from ALSPAC Stata files

Description

Create a dictionary from ALSPAC Stata files

Usage

createDictionary(
  datadir = "Current",
  name = NULL,
  quick = FALSE,
  sourcesFile = NULL
)

Arguments

datadir

ALSPAC data subdirectory from which to create the index (Default: "Current"). .

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).

quick

Logical. Default FALSE.

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 June 12, 2025, 2:02 p.m.