extract_key: Read in inclusion and variable (wrapper)

Description Usage Arguments

View source: R/functions.R

Description

Read in inclusion and variable (wrapper)

Usage

1
extract_key(research.folder, database, file, key.var, key.desc = NA, type)

Arguments

research.folder

The name of research folder. See initResearchFolder for details on a research folder.

database

Name of database. Should be either private or public for flat tables, indicating whether data is stored in public_data or research/[research folder]/private_data, or the actual name of database if extracting data from a database.

file

The inclusion or varible list.

key.var

The name of variable based on which inclusion criterion is specified. Vector with multiple elements is not allowed. To have complex inclusion criteria based on multiple variables, generate one request form for each variable.

key.desc

The name of variable(s) that describes key.var, if any. Multiple description variables should be specified as a character vector. Default is NA, where no description variable is selected.

type

To decide whether to extract column names (vafiable) or whole data.


biostatUniBS/RDataXMan documentation built on Feb. 2, 2021, 9:41 a.m.