update_existing_dataset: update_existing_dataset

Description Usage Arguments Value

View source: R/update_existing_dataset.R

Description

Update a full Energy.info record in DDH (metadata + resources)

Usage

1
2
3
4
5
update_existing_dataset(metadata_list,
  master = eex2ddh::get_ddh_records_status(),
  ddh_fields = ddhconnect::get_fields(), lovs = ddhconnect::get_lovs(),
  root_url = dkanr::get_url(), credentials = list(cookie =
  dkanr::get_cookie(), token = dkanr::get_token()))

Arguments

metadata_list

list: list of finance metadata, from extract_eex_metadata()

master

dataframe: Output of fin2ddh::get_ddh_records_status()

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

Value

character


tonyfujs/eex2ddh documentation built on Dec. 27, 2019, 2:57 a.m.