Description Usage Arguments Value
View source: R/create_blank_json_body.R
Create the JSON body for updating the given fields or creating a new dataset
1 2 3 4 5 6 | create_blank_json_body(
values = c("title", "body"),
publication_status = "published",
type = "dataset",
root_url = dkanr::get_url()
)
|
values |
vector: vector of fields to make blank |
publication_status |
string: status to post the mode, takes values of c("published", "unpublished", "draft") |
type |
string: indicates whether the JSON body is for a "dataset" or a "resource" |
root_url |
string: API root URL |
json string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.