Learn R Programming

timeseriesdb (version 1.0.0-1.1.2)

db_ts_find_keys: Get All keys that follow a pattern

Description

Get All keys that follow a pattern

Usage

db_ts_find_keys(con, pattern, schema = "timeseries")

Arguments

con

RPostgres connection object.

pattern

character that represents a regular expression to find keys

schema

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

See Also

Other access levels functions: change_access_level, db_access_level_create(), db_access_level_delete(), db_access_level_list(), db_access_level_set_default()

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
db_ts_store(con = connection, zrh_airport, schema = "schema")

# get all keys that start with "ch"
db_ts_find_keys(
  con = connection,
  "^ch",
  schema = "schema")
# }

Run the code above in your browser using DataLab