subset_save_surveys: Subset and Save Surveys

Description Usage Arguments Value See Also Examples

Description

Read a predefined survey list and variables.

Usage

1
2
3
4
5
6
subset_save_surveys(
  var_harmonization,
  selection_name = "trust",
  import_path = "",
  export_path = "working"
)

Arguments

var_harmonization

Metadata of surveys, including at least filename, var_name_orig, var_name, var_label.

selection_name

An identifier for the survey subset.

import_path

The path to the survey files.

export_path

The path where the subsets should be saved.

Value

The function does not return a value. It saves the subsetted surveys into .rds files.

See Also

Other import functions: pull_survey(), read_rds(), read_spss(), read_surveys()

Examples

1
2
3
4
## Not run: 
## See Eurobaromter case study

## End(Not run)

antaldaniel/retroharmonize documentation built on Aug. 15, 2020, 10:13 a.m.