Get ODK Questionnaire Response Data
get_odk_responses.RdThis function handles the authentication and pulling of responses
data for ODK Questionnaires. The raw return list is 'rectangularized' into
a data frame first. See the ruODK package for more info on how this happens.
Usage
get_odk_responses(
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_responses(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"))
} # }