Get the latest Release for Given Datasets

db_dataset_get_release(
  con,
  set_ids,
  target_year = year(Sys.Date()),
  target_period = month(Sys.Date()),
  schema = "timeseries"
)

Arguments

con

RPostgres connection object.

set_ids

Sets to get release dates for

target_year

Year of the desired release

target_period

Period of the desired release

schema

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

Value

data.frame with columns `set_id`, `release_id`, `release_date`