ListVN: List all the variable names for specific table

Description Usage Arguments Value

View source: R/ListName.R

Description

List all the variable names for specific table

Usage

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

Arguments

wkdir

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

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.

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.

table_name

For database this is the name of table. For flat file this is the name of file to read in, including file extension.

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.