This function must be run with a connection of a database level admin.

setup_sql_roles(con, schema = "timeseries")

Arguments

con

RPostgres connection object

schema

schema character schema name, defaults to 'timeseries'.