Description Usage Arguments Value
View source: R/attach_resource_to_dataset.R
attach_resource_to_dataset link resources to dataset
1 2 3 4 5 6 | attach_resource_to_dataset(
credentials = list(cookie = dkanr::get_cookie(), token = dkanr::get_token()),
body,
root_url = dkanr::get_url(),
dataset_nid
)
|
credentials |
list: object returned by the get_credentials() function |
body |
json: json object generated by jsonlite::toJSON |
root_url |
character: API root URL |
dataset_nid |
character: Node ID of the dataset to be updated |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.