group_list {ckanr} | R Documentation |
List groups.
Description
List groups.
Usage
group_list(
offset = 0,
limit = 31,
sort = NULL,
groups = NULL,
all_fields = FALSE,
url = get_default_url(),
key = get_default_key(),
as = "list",
...
)
Arguments
offset |
(numeric) Where to start getting activity items from (optional, default: 0) |
limit |
(numeric) The maximum number of activities to return (optional, default: 31) |
sort |
Field to sort on. You can specify ascending (e.g., score desc) or descending (e.g., score asc), sort by two fields (e.g., score desc, price asc), or sort by a function (e.g., sum(x_f, y_f) desc, which sorts by the sum of x_f and y_f in a descending order). |
groups |
(character) A list of names of the groups to return, if given only groups whose names are in this list will be returned |
all_fields |
(logical) Return full group dictionaries instead of just
names. Default: |
url |
Base url to use. Default: https://data.ontario.ca/ See
also |
key |
A privileged CKAN API key, Default: your key set with
|
as |
(character) One of list (default), table, or json. Parsing with
table option uses |
... |
Curl args passed on to |
Examples
## Not run:
group_list(limit = 3)
group_list(limit = 3, as = 'json')
group_list(limit = 3, as = 'table')
## End(Not run)