create_alter_attr: Create dataframe of alter attributes based on social networks...

View source: R/create_alter_attr.R

create_alter_attrR Documentation

Create dataframe of alter attributes based on social networks and fertility data (LISS: wj18a_EN_1.0p.sav)

Description

Create dataframe of alter attributes based on social networks and fertility data (LISS: wj18a_EN_1.0p.sav)

Usage

create_alter_attr(data)

Arguments

data

Tibble which is the result of create_relation_labels(fix_errors(change_column_types(translate(read_data()))))

Value

Tibble with variable alter_attr which includes a dataframe with alter attributes for each respondent

Examples


data <- read_data() |> translate() |>
change_column_types() |> fix_errors() |> create_relation_labels()
create_alter_attr(data[1, ])


FertNet documentation built on March 31, 2023, 6:46 p.m.