update_dataset: update_dataset

Description Usage Arguments Value

View source: R/update_dataset.R

Description

Update existing in DDH

Usage

1
2
3
4
5
6
update_dataset(
  nid,
  body,
  root_url = dkanr::get_url(),
  credentials = list(cookie = dkanr::get_cookie(), token = dkanr::get_token())
)

Arguments

nid

character: Node ID of the dataset to be updated

body

json: json object generated by jsonlite::toJSON

root_url

character: API root URL

credentials

list: authentication token and cookie

Value

list


tonyfujs/ddhconnect documentation built on June 3, 2020, 10:33 a.m.