read_rds | R Documentation |
Import a survey from an rds file.
read_rds(file, dataset_bibentry = NULL, id = NULL, doi = NULL)
file |
A path to a file to import. |
dataset_bibentry |
A bibliographic entry created with
|
id |
An identifier of the tibble, if omitted, defaults to the file name without its extension. |
doi |
An optional document object identifier. |
A tibble, data frame variant with survey attributes.
Other import functions:
pull_survey()
,
read_csv()
,
read_dta()
,
read_spss()
,
read_surveys()
path <- system.file("examples", "ZA7576.rds", package = "retroharmonize")
read_survey <- read_rds(path)
attr(read_survey, "id")
attr(read_survey, "filename")
attr(read_survey, "doi")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.