Description Usage Arguments Value
View source: R/update_resource.R
Update existing resource in DDH
1 2 3 4 5 6 | update_resource(
credentials = list(cookie = dkanr::get_cookie(), token = dkanr::get_token()),
nid,
body,
root_url = dkanr::get_url()
)
|
credentials |
list: authentication token and cookie |
nid |
character: Node ID of the resource to be updated |
body |
json: json object generated by jsonlite::toJSON |
root_url |
character: API root URL |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.