View source: R/get_data_from_rapidpro_api.R
get_data_from_rapidpro_api | R Documentation |
A generalised way to call data from the RapidPro API.
get_data_from_rapidpro_api(
call_type,
rapidpro_site = get_rapidpro_site(),
token = get_rapidpro_key(),
flatten = FALSE,
date_from = NULL,
date_to = NULL,
format_date = "%Y-%m-%d",
tzone_date = "UTC"
)
call_type |
A string containing the call type; for example, |
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 |
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. |
format_date |
from |
tzone_date |
from |
A data frame of the data specified in the call_type
parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.