View source: R/get_archived_data.R
get_archived_data | R Documentation |
Download the archived run data from RapidPro.
get_archived_data(
rapidpro_site = get_rapidpro_site(),
token = get_rapidpro_key(),
period = "monthly",
flatten = FALSE,
date_from = NULL,
date_to = NULL,
archive_type = c("run", "messages"),
format_date = "%Y-%m-%d",
tzone_date = "UTC"
)
rapidpro_site |
A string containing the rapidpro website to call the data from. See |
token |
A string containing the token to call the data. See |
period |
Default |
flatten |
Default |
date_from |
character string giving the date to filter the data from. |
date_to |
character string giving the date to filter the data to. |
archive_type |
character string denoting whether to call |
format_date |
from |
tzone_date |
from |
Archived data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.