ts_create_db: Create Time-Series Database

View source: R/create.R

ts_create_dbR Documentation

Create Time-Series Database

Description

Creates an empty SQLite database to store time series data. The UTC offset for Alaska is -8.

Usage

ts_create_db(
  file,
  utc_offset = 0L,
  periods = c("year", "month", "day", "hour", "minute", "second")
)

Arguments

file

A string of the name of the database file.

utc_offset

A integer of the utc offset which must lie between -12 and 14.

periods

A character vector of the permitted periods. Possible values are 'year', 'month', 'day', 'hour', 'minute', 'second'

Value

A connection to the database.


poissonconsulting/tsdbr documentation built on April 13, 2025, 6:42 p.m.