powered by
Store the data of a survey in a tibble (data frame) with a unique survey identifier, import filename, and optional doi.
survey( object = data.frame(), id = character(), filename = character(), doi = character() )is.survey(object)# S3 method for survey summary(object, ...)
is.survey(object)
# S3 method for survey summary(object, ...)
A tibble or data frame that contains the survey data.
A mandatory identifier for the survey
The import file name.
Optional doi, can be omitted.
Arguments passed to summary method.
A tibble with id, filename, doi metadata information.
id
filename
doi
# NOT RUN { example_survey <- survey( object =data.frame ( rowid = 1:6, observations = runif(6)), id = 'example', filename = "no_file" ) # }
Run the code above in your browser using DataLab