grab_dst: raw data pull for DST data

Description Usage Arguments

View source: R/grab_dst.R

Description

raw data pull for DST data

Usage

1
grab_dst(path, reg, years, pop, vars = NULL, s.id = NULL, show.vars = F)

Arguments

path

path to raw data dir

reg

base name of registry (data file base word, when 0-9 are removed)

years

a vector of the years (e.g. 1991:2021) or other regular definitions of time periods covered by registries. For DREAM, this would be CCYYMM-CCYYMM.

pop

a vector of identifiers, which the data extracted will be limited to

vars

vector of variable names to be kept

s.id

name of the variable that contains the ids in source data

show.vars

logical to enable printing of variable names in source data.


socioskop/ttools documentation built on Jan. 29, 2022, 3:08 a.m.