db_release_update {timeseriesdb}R Documentation

Update an Existing Release Record

Description

Any parameters provided to this function will overwrite the corresponding fields in the database. Parameters set to NA (default) will leave the corresponding fields untouched. For details see db_release_create.

Usage

db_release_update(
  con,
  id,
  title = NULL,
  release_date = NULL,
  datasets = NULL,
  target_year = NULL,
  target_period = NULL,
  target_frequency = NULL,
  note = NULL,
  schema = "timeseries"
)

Arguments

con

RPostgres connection object.

id

Identifier for the release e.g. 'gdb_may_2020'

title

Display title for the release

release_date

Timestamp when the release is to occur

datasets

character vector of the datasets. Dataset is a group of time series.

target_year

Year observed in the data

target_period

Period observed in the data (e.g. month, quarter)

target_frequency

Frequency of the data (e.g. 4 for quarterly)

note

Additional remarks about the release.

schema

character name of the database schema. Defaults to 'timeseries'

Value

a status list

See Also

Other calendar functions: db_dataset_get_latest_release(), db_dataset_get_next_release(), db_dataset_get_release(), db_release_cancel(), db_release_create(), db_release_list()


[Package timeseriesdb version 1.0.0-1.1.2 Index]