Mainly used as a supporting function for get_metadata but can
also be used to create a working URL to paste in your web browser.
compose_metadata_query(
entity = "kpi",
title = NULL,
id = NULL,
municipality = NULL,
page = NA,
per_page = NA,
version = "v2"
)A string containing a URL to the Kolada REST API.
Any allowed metadata entity. Check
allowed_entities to see an updated list.
A free-form search term or the exact title of any entry in the current entity. Case insensitive.
The ID of any entry in the current entity.
If entity is "ou", the municipality parameter can
be added to narrow the search.
What page to fetch. Used mainly in large queries. Fetches a page using the value of "per_page" as pagination delimiter.
Number of results per page.
Version of the API. Currently only "v2" is supported.