View source: R/format_odk_data.R
extract_data_from_odk_server | R Documentation |
Extract data from ODK server to a formatted dataframe. This function relies on ruODK to export submissions.
extract_data_from_odk_server(
cpid,
cpid_forms,
cfid,
cpp = "",
start_date = NULL,
end_date = NULL,
filter = NULL,
col_specs = NULL,
group = TRUE,
split = FALSE,
verbose = FALSE
)
cpid |
integer, ODK project ID |
cpid_forms |
list of form IDs in 'cpid' |
cfid |
string, ODK form ID |
cpp |
string, ODK project passphrase (optional, only required if the ODK project is encrypted) |
start_date |
date, data collection start date (optional, by default set to 'NULL') |
end_date |
date, data collection end date (optional, by default set to 'NULL') |
filter |
OData filter (optional, by default set to 'NULL') |
col_specs |
column specifications (optional, by default set to 'NULL') |
group |
keep group names (optional, by default set to 'TRUE') |
split |
split “select multiple” choices into columns (optional, by default set to 'FALSE') |
verbose |
boolean, displays more information about the function output |
This function returns a formatted dataframe for future display and analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.