ListTN: List all the table names the user can access

Description Usage Arguments Value

View source: R/ListName.R

Description

List all the table names the user can access

Usage

1
2
3
4
5
6
7
8
9
ListTN(
  wkdir = getwd(),
  database = NA,
  research.folder = NA,
  data.type = NA,
  conn_string = NA,
  username = NA,
  password = NA
)

Arguments

wkdir

The path to working directory. See initWkdir for details on a working directory.

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.

research.folder

The name of research folder. See initResearchFolder for details on a research folder.

data.type

flat for flat tables and sql fo MySQL database.

username

User name for accessing database if data.type is not flat. Default is NA for flat tables.

password

Password for accessing database if data.type is not flat. Default is NA for flat tables.

Value

character vector includes all the table names based on the database choice.


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