Description Usage Arguments Value Examples
Returns list of nodes
1 2 3 |
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 |
pagesize |
numeric: Number of records to get per page (max = 20). |
page |
numeric: The zero-based index of the page to get, defaults to 0. |
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 7 | ## Not run:
list_nodes(url = "http://demo.getdkan.com")
list_nodes(url = "http://demo.getdkan.com",
fields = c('nid', 'type', 'uri'),
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.