Installs tables needed to operated timeseriesdb in a given PostgreSQL schema. The tables use a default SQL file installed with the package to generate SQL tables. The default schema 'timeseries' can be replaced using the 'schema' parameter.

setup_sql_tables(con, schema = "timeseries", prnt = identity)

Arguments

con

PostgreSQL connection object created by the RPostgres package.

schema

character schema name, defaults to 'timeseries'.

prnt

function log printing function