List locations

list_locations(
  sort = "name asc",
  all_fields = FALSE,
  configuration = NULL,
  ...
)

Arguments

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

Value

A vector of locations names

Examples

if (FALSE) { # Setting the config to use HDX default server set_rhdx_config() list_locations(limit = 10L) }