get_varnames: Returns names of variables in MSMT files

Description Usage Arguments Value Examples

View source: R/get_varnames.R

Description

'get_varnames'Uses the output of get_locations function and returns the list of all variable names in available data.

Usage

1
get_varnames(location = NULL, forms = NULL, years = NULL)

Arguments

location

A tibble from get_locations function. If left blank, uses get_location with no specified parameters.

forms

A character vector with forms of interest, in the following form c("v11",v"12") etc., where the number specifies form number. For form numbers, consult forms_codes().

binary:

print boolean (TRUE) or counts (FALSE) for repeated observations

Value

a list of values indicating files with repeated rows

Examples

1
2
mymap <- get_locations("E:/EDU/Data/data/MSMT/")
get_varnames(location = mymap, forms = "v11")

jmunich/readMSMT documentation built on March 17, 2020, 9:14 a.m.