fail_error: Flag error for failing to find a table

Description Usage Arguments

View source: R/functions.R

Description

Flag error for failing to find a table

Usage

1
fail_error(table_name, database, is_database = TRUE)

Arguments

table_name

The name of dataset. File extension must be included if the data is saved as a flat file instead of in a database, e.g. 'data.csv' should be given instead of simply 'data'.

database

Name of database. Should be either private or public for flat tables, indicating whether data is stored in public_data or research/[research folder]/private_data, or the actual name of database if extracting data from a database.

is_database

Whether table is in a database.


biostatUniBS/RDataXMan documentation built on Feb. 2, 2021, 9:41 a.m.