Description Usage Arguments Value Examples
List locations
1 2 3 4 5 6 | list_locations(
sort = "name asc",
all_fields = FALSE,
configuration = NULL,
...
)
|
sort |
Character sorting of the search results. Default: “name asc”, the allowed fields are ‘name’, ‘package_count’ and ‘title’ |
all_fields |
Logical if TRUE returns list instead of just names |
configuration |
a Configuration |
... |
Extra parameters to group_list https://docs.ckan.org/en/ckan-2.8.2/api/index.html#ckan.logic.action.get.group_list |
A vector of locations names
1 2 3 4 5 6 | ## Not run:
# Setting the config to use HDX default server
set_rhdx_config()
list_locations(limit = 10L)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.