check_type: Check data.type and table_name

Description Usage Arguments

View source: R/functions.R

Description

Check data.type and table_name

Usage

1
check_type(table_name, data.type, database)

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'.

data.type

flat for flat tables and sql fo MySQL database.

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.


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