Description Usage Arguments Value Examples
View source: R/01-wfpKenya_data.R
Function to pull outcome monitoring data from the ODK server.
1 2 3 4 5 6 7 8 9 | get_wfp_repeat(
id,
username,
password,
start = Sys.Date(),
end = Sys.Date(),
filename,
repeat.name
)
|
id |
Form ID of the different forms designed for the outcome monitoring study |
username |
ONA server username credentials. |
password |
ONA server password credentials. |
start |
Include data from submission dates after (inclusive) this start date in export to CSV. Date format <yyyy/MM/dd> and default is current system date |
end |
Include data from submission dates before (exclusive) this date in export to CSV. Date format is <yyyy/MM/dd> and default value current system date |
filename |
Filename to use for data without the CSV file extension. |
repeat.name |
Character value for name of repeat group data to get. |
A data.frame corresponding to the repeat dataset corresponding to the form ID specified.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
## Get survey data
get_wfp_data(id = "household",
username = "validmeasures",
password = askpass(),
start = "2019-07-01",
end = Sys.Date(),
filename = "household")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.