document_waves: Document survey lists

Description Usage Arguments Value See Also Examples

View source: R/document_waves.R

Description

Document the key attributes surveys in a survey list.

Usage

1
document_waves(survey_list)

Arguments

survey_list

A list of survey objects.

Value

Returns a data frame with the key attributes of the surveys in a survey list: the name of the data file, the number of rows and columns, and the size of the object as stored in memory.

See Also

Other documentation functions: document_survey_item()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
examples_dir <- system.file( "examples", package = "retroharmonize")
                        
my_rds_files <- dir( examples_dir)[grepl(".rds", 
                                   dir(examples_dir))]

example_surveys <- read_surveys(file.path(examples_dir, my_rds_files))
 
waves_document <- document_waves(example_surveys)

attr(waves_document, "original_list" )
waves_document

retroharmonize documentation built on June 27, 2021, 5:06 p.m.