Description Usage Arguments Value Examples
Export data in CSV format from local ODK Briefcase Storage directory to a specified destination directory and a specified file name
1 2 3 |
target |
Path to directory of ODK Briefcase |
briefcase |
Filename of the downloaded ODK Briefcase |
id |
Form ID of form to be pulled |
from |
Path to source ODK Briefcase Storage from which to extract data.
This should match directory path specified when making a call to |
to |
Destination directory to save output data file |
filename |
Filename of output CSV data; default is
|
start |
Include data from submission dates after (inclusive) this start date in export to CSV; format <yyyy/MM/dd> |
end |
Include data from submission dates before (exclusive) this date in export to CSV; format <yyyy/MM/dd> |
overwrite |
Overwrite existing output data in destination directory with the same filename; default is FALSE |
exclude |
Exclude media files on export; default is TRUE |
CSV file in destination directory containing data from the pulled forms
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Export data from a specified ODK Briefcase Storage directory to current
# working directory with a filename called "test.csv"
## Not run:
dirPath <- tempdir()
get_briefcase(destination = dirPath)
export_data(target = dirPath,
from = dirPath,
to = dirPath,
id = "stakeholders",
filename = "test.csv",
overwrite = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.