Description Usage Arguments Value Examples
View source: R/retrieve_node.R
Returns metadata associated with an existing DKAN Node ID.
1 2 | retrieve_node(nid, url = get_url(), credentials = list(cookie =
dkanr::get_cookie(), token = dkanr::get_token()), as = "json", ...)
|
nid |
character: DKAN node ID |
url |
character: The DKAN site URL |
credentials |
Optional list parameter. Default values are Cookie and Token generated by dkan_setup() |
as |
character: Output format. Options are: 'json' or 'list' |
... |
Other optional parameters passed to the underlying GET request |
dkan_node object
1 2 3 4 | ## Not run:
retrieve_node(nid = 1, url = "http://demo.getdkan.com")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.