compose_data_query | R Documentation |
Mainly used as a supporting function for get_values
but can also
be used to create a working URL to paste in your web browser.
compose_data_query( kpi = NULL, municipality = NULL, period = NULL, ou = NULL, unit_type = "municipality", page = NA, per_page = NA, version = "v2" )
kpi |
What kpis should be fetched? Can be a single name or a vector of names. |
municipality |
For which municipalities should data be fetched? Can be a single name or a vector of names. |
period |
For what years should data be fetched? Can be one or more four-digit integers or character strings. |
ou |
(Optional) for what Operating Units should data be fetched? Only
available for certain KPIs. Only used if |
unit_type |
One of |
page |
What page to fetch. Used mainly in large queries. Fetches a page using the value of |
per_page |
Number of results per page. |
version |
Version of the API. Currently only |
A string containing a URL to the Kolada REST API.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.