Import a Tabulated Open Questionnaire specification (e.g. in a spreadsheet) and convert it into a Serialized Open Questionnaire specification (in YAML format).

toq_to_soq(x)

Arguments

x

The path to a spreadheet file or the URL to a google sheet that is publicly accessible.

Value

A character vector holding the YAML.

Examples

soq <-
  psyverse::toq_to_soq(
    paste0(
      "https://docs.google.com/spreadsheets/d/",
      "1temqfgkUqWypzjsvvLKMkjR707An1Vt-jzK96WBUsPQ"
    )
  );
#> Error in responseRegistrationTemplateIds(tmpDf): could not find function "responseRegistrationTemplateIds"