Learn R Programming

timeseriesdb (version 0.4.1)

deleteTimeSeries: Delete Time Series from the database

Description

This function deletes time series AND their metainformation from the database. All meta information in all series will be deleted. To only edit the original time series use storeTimeSeries to overwrite existing series.

Usage

deleteTimeSeries(series, con, chunksize = 10000,
  tbl_main = "timeseries_main", schema = "timeseries")

Arguments

series

character name of the timeseries

con

a PostgreSQL connection object

chunksize

integer max size of chunk when deleting chunkwise. Defaults to 10000.

tbl_main

character name of the table that contains the main time series catalog. Defaults to 'timeseries_main'.

schema

SQL schema name. Defaults to 'timeseries'.