
gets a data table and retrieves the caption and description by the resource ID or entity ID .xls and .xlsx files assumed to be excel, .rds as RDS, .sas7bdat as SAS all others as CSV
getData.Rdgets a data table and retrieves the caption and description by the resource ID or entity ID .xls and .xlsx files assumed to be excel, .rds as RDS, .sas7bdat as SAS all others as CSV
Usage
getData(
ident,
from = pwd(),
addAsLink = TRUE,
caption = "",
description = "",
parser = NULL,
...
)Arguments
- ident
path, resource or entity ID of the picture
- from
used for relative paths, by default pwd is used, which is initiated with the step that started improveR
- addAsLink
creates a link in inventory if TRUE, warn improveClean has to be run at the end
- caption
by default entityID and lastmodified are the caption, here alternative text can be provided
- description
by default filename is the caption, here alternative text can be provided
- parser
a custom parser can be handed over as argument parser=... . It needs to take a local path as first argument
- ...
pass over arguments for the read function