produce_data {FertNet}R Documentation

Produces tidy dataset of social networks and fertility data (LISS: wj18a_EN_1.0p.sav) with network data as listcolumns

Description

Produces tidy dataset of social networks and fertility data (LISS: wj18a_EN_1.0p.sav) with network data as listcolumns

Usage

produce_data(
  tidygraph_col = FALSE,
  background_vars = FALSE,
  remove_timing_vars = TRUE
)

Arguments

tidygraph_col

Should a variable tidygraph be created that includes tidygraph object for each respondent? (default: FALSE)

background_vars

Should respondent background variables be added? Requires presence of avars_201802_EN_1.0p.sav (default: FALSE)

remove_timing_vars

Should variables on timing of survey responses be removed? (default: TRUE)

Value

Tibble of social networks and fertility data (LISS: wj18a_EN_1.0p.sav) with network data as listcolumns

Examples


produce_data()
produce_data(TRUE, TRUE, FALSE)


[Package FertNet version 0.1.2 Index]