RDS TealDatasetConnector
rds_dataset_connector.RdUsage
rds_dataset_connector(
dataname,
file,
keys = character(0),
label = character(0),
code = character(0),
script = character(0),
metadata = list(type = "rds", file = file),
...
)
rds_cdisc_dataset_connector(
dataname,
file,
keys = get_cdisc_keys(dataname),
parent = if (identical(dataname, "ADSL")) character(0L) else "ADSL",
label = character(0),
code = character(0),
script = character(0),
metadata = list(type = "rds", file = file),
...
)Arguments
- dataname
(
character)
A given name for the dataset it may not contain spaces- file
(
character)
path to (.rdsor.R) that containsdata.frameobject or code tosource- keys
optional, (
character)
vector of dataset primary keys column names- label
(
character)
Label to describe the dataset.- code
(
character)
A character string defining code to modifyraw_datafrom this dataset. To modify current dataset code should contain at least one assignment to object defined indatanameargument. For example ifdataname = ADSLexample code should containADSL <- <some R code>. Can't be used simultaneously withscript- script
(
character)
Alternatively tocode- location of the file containing modification code. Can't be used simultaneously withscript.- metadata
(named
list,NULLorCallableFunction)
Field containing either the metadata about the dataset (each element of the list should be atomic and length one) or aCallableFuntionto pull the metadata from a connection. This should return alistor an object which can be converted to a list withas.list.- ...
(
optional)
additional arguments applied tobase::readRDS()function- parent
(
character, optional) parent dataset name