Skip to contents

Thin wrapper on read_sql_table using the tables configured in list_tessi_tables that also :

Usage

read_tessi(
  table_name,
  select = NULL,
  freshness = as.difftime(7, units = "days"),
  incremental = TRUE,
  ...
)

Arguments

table_name

character name of the table to read from Tessitura, either one of the available tables (see tessi_list_tables()) or the name of a SQL table that exists in Tessitura. The default SQL table schema is dbo.

select

vector of strings indicating columns to select from database

freshness

the returned data will be at least this fresh

incremental

whether or not to load data incrementally, default is TRUE

...

further arguments to be passed to read_sql_table

Value

an Apache arrow::Table.

Examples

if (FALSE) { # \dontrun{
read_tessi("memberships",
  select = c("memb_level", "customer_no")
)
} # }