nls: functions to access the national longitudinal studies panel...

nls_get_selectionsR Documentation

functions to access the national longitudinal studies panel weights

Description

download all available survey-year selections for any of the nlsy studies, then download the appropriate set of weights

Usage

nls_get_selections(study)

nls_get_weights(study, uona, selections)

Arguments

study

must be one of the options shown at https://www.nlsinfo.org/weights like c( "nlsy97" , "nlsy79" , "nlscya" , "nlsym" , "nlsom" , "nlsyw" , "nlsmw" )

uona

use "NO" if you want to weight using "the respondents are in ALL of the selected years" or "YES" for "the respondents are in ANY OR ALL of the selected years"

selections

panel timepoints to use, as returned by nls_get_selections

See Also

http://www.asdfree.com for usage examples


ajdamico/lodown documentation built on Oct. 21, 2024, 4:53 p.m.