db_dataset_create | R Documentation |
A dataset is a family of time series that belong to the same topic. By default all series stored with 'db_store_ts' belong to a default set. In order to assign them a different set, it must first be created with 'db_dataset_create' after which the series may be moved with db_ts_assign_dataset
.
db_dataset_create( con, set_name, set_description = NULL, set_md = NULL, schema = "timeseries" )
con |
RPostgres connection object. |
set_name |
character name of a dataset. |
set_description |
character description about the set. Default to NA. |
set_md |
meta information data about the set. Default to NA. |
schema |
character name of the database schema. Defaults to 'timeseries' |
character name of the created set
Other datasets functions:
db_dataset_delete()
,
db_dataset_get_keys()
,
db_dataset_get_last_update()
,
db_dataset_list()
,
db_dataset_trim_history()
,
db_dataset_update_metadata()
,
db_ts_assign_dataset()
,
db_ts_get_dataset()
## Not run: db_dataset_create( con = connection, set_name = "zrh_airport_data", set_description = "Zurich airport arrivals and departures ", schema = "schema" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.