Get ODK Questionnaire Schema Info
get_odk_form_schema.Rd
This function handles the authentication and pulling of questionnaire form schema information.
Usage
get_odk_form_schema(
url,
un = Sys.getenv("ODK_USERNAME"),
pw = Sys.getenv("ODK_PASSWORD"),
odkc_version = Sys.getenv("ODKC_VERSION")
)
Details
This is a wrapper around the ruODK
package. It handles the setup and
authentication. See https://github.com/ropensci/ruODK
Examples
if (FALSE) { # \dontrun{
get_odk_form_schema(url ="https://odk.xyz.io/v1/projects/5/forms/survey.svc",
un = Sys.getenv("ODK_USERNAME"),
pw = Sys.getenv("ODK_PASSWORD"),
odkc_version = Sys.getenv("ODKC_VERSION"))
} # }