survey_import: Import Survey Template

View source: R/survey-import.R

survey_importR Documentation

Import Survey Template

Description

Import Survey Template

Usage

survey_import(path = NULL)

Arguments

path

character file path to survey template

Value

Data frame with 5 variables

project_id

character project id

sample_id

character sample id

question

question - character question

response

response - character response value

label

label - Mainly used for labelling taxonomic observations

Examples

## Not run: 
file <- system.file("extdat",
  "survey-template/220421-SelfMon-N4952-CAV1-Enhanced.xlsx",
  package =
    "hera"
)
data <- survey_import(file)

## End(Not run)


ecodata1/hera documentation built on April 5, 2025, 1:48 a.m.