View source: R/get_data_custom.r
get_data_custom | R Documentation |
This function allows users to extract other tables within a known database that the script does not get by default. They must have access to the tables to extract them.
get_data_custom(
schema = NULL,
data.dir = file.path(getwd(), "data"),
tables = NULL,
cxn = NULL,
usepkg = "rodbc",
fn.oracle.username = "_none_",
fn.oracle.password = "_none_",
fn.oracle.dsn = "_none_",
env = .GlobalEnv,
quiet = F
)
schema |
default is |
data.dir |
The default is your working directory. If you are hoping to load existing data, this folder should contain a data folder containing your rdata files. If you are extracting data, a data folder will be created under this folder. extracted files to go. |
tables |
The default value is |
cxn |
A valid Oracle connection object. This parameter allows you to pass an existing connection, reducing the need to establish a new connection within the function. If provided, it takes precedence over the connection- related parameters. |
usepkg |
default is |
fn.oracle.username |
Default is |
fn.oracle.password |
Default is |
fn.oracle.dsn |
Default is |
env |
This the the environment you want this function to work in. The
default value is |
quiet |
default is |
Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca
Other dfo_extractions:
get_data()
,
get_survey()
,
self_filter()
,
summarize_catches()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.