Description Usage Arguments Value Examples
View source: R/list_nodes_all.R
Returns list of nodes
1 2 3 | list_nodes_all(url = get_url(), credentials = list(cookie =
dkanr::get_cookie(), token = dkanr::get_token()), fields = NULL,
filters = NULL, as = "df", ...)
|
url |
character: The DKAN site URL |
credentials |
Optional list parameter. Default values are Cookie and Token generated by dkan_setup() |
fields |
character vector: fields to be returned by the request |
filters |
named character vector: filters to be applied to the search |
as |
character: Output format. Options are: 'json', 'list' or 'df' (data frame) |
... |
Other optional parameters to be passed to the underlying GET request |
json, dkan_node (list), or data frame
1 2 3 4 5 6 | ## Not run:
list_nodes_all(url = "http://demo.getdkan.com",
fields = c('nid', 'type'),
filters = c(type = 'resource'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.