Description Arguments Value Author(s)
This function reads into a data table the files generated from an unload command. The files that are read in, are the ones that share the prefix passed on the argument The prefix should contain the absolute path to the s3 folder holding the files alternatively we can pass the function a character vector listing all the files to be read
The yaml file must contain s3 bucket name, user and password.
filePrefix |
Either a character vector with length 1, with the prefix shared by the objects to be read, or a character vector listing the full path of each obejct to be read |
dbID |
The name of the yaml group containing the database credentials |
s3ID |
The name of the yaml group containing the s3 bucket credentials |
yamlConfig |
The path to the yaml file |
acceleration |
Use s3 bucket acceleration |
parallel |
Use parallel package for simultaneous connections to s3 |
The function will return a data.table object with the content of the files that were read from the s3 bucket
João Monteiro
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.