Description Usage Arguments Value
View source: R/update_resources.R
Update resources for a given dataset
1 2 3 4 | update_resources(dataset_nid, resource_nid, metadata_resources,
ddh_fields = ddhconnect::get_fields(), lovs = ddhconnect::get_lovs(),
root_url = dkanr::get_url(), credentials = list(cookie =
dkanr::get_cookie(), token = dkanr::get_token()))
|
dataset_nid |
string: dataset to attach resource to |
resource_nid |
vector: vector of resources to attach |
metadata_resources |
list: list of resource metadata |
ddh_fields |
dataframe: table of all the data catalog fields by node type |
lovs |
dataframe: lookup table of the data catalog tids and values |
root_url |
character: API root URL |
credentials |
list: object returned by the dkanr::get_credentials() function |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.