create_resource: create_resource

Description Usage Arguments Value

View source: R/create_resource.R

Description

Create new resource in DDH

Usage

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

Arguments

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.