getRawTs: Build a univariate time series of raw data from a specified...

Description Arguments Value

View source: R/getRawTs.r

Description

Build a univariate time series object from a specified table a column

Arguments

connectionDetails

An R object of type
connectionDetails created using the function createConnectionDetails in the DatabaseConnector package.

dbSchema

A fully qualified CDM or Results schema name.

tableName

A valid table name.

dateColumnName

A valid date column in the specified table.

startDate

A string date in the "YYYY-MM-DD" format

endDate

A string date in the "YYYY-MM-DD" format

dataColumnName

The column in the specified table to count.

frequency

A string indicating the number of observations per unit of time in the time series. Acceptable values are "day","week","month","quarter", and "year".

Value

A univariate time series object


OHDSI/Castor documentation built on March 20, 2021, 6:09 p.m.