ts_doctor_db: Doctor Database

View source: R/doctor.R

ts_doctor_dbR Documentation

Doctor Database

Description

Doctor Database

Usage

ts_doctor_db(
  check_limits = TRUE,
  check_period = FALSE,
  check_gaps = FALSE,
  fix = FALSE,
  conn = getOption("tsdbr.conn", NULL)
)

Arguments

check_limits

A flag indicating whether to check if corrected values outside the lower and upper limits are coded as erroneous.

check_period

A flag indicating whether to check if the periods are valid.

check_gaps

A flag indicating whether to check if there are any gaps in the data given the period.

fix

A flag indicating whether to fix any problems

conn

An object of class SQLiteConnection.

Value

A flag indicating whether or not the database passed the checks (or was fixed)


poissonconsulting/tsdbr documentation built on June 30, 2023, 3:02 a.m.