s3GetData | R Documentation |
Loads data from several files in S3 based on the path prefix
s3GetData( path, header = TRUE, bucket = s3DefaultBucket(), root = s3DefaultRoot(), s3.get.fun = s3GetFile, fill = TRUE )
path |
is the path to the S3 object |
header |
flag defines whether file has header |
bucket |
name of the S3 bucket.
Defaults to value in |
root |
project root path that is appended before the path in the argument.
Defaults to value in |
s3.get.fun |
Function that will be used to read data from the individual files. |
fill |
see data.table::rbindList |
data.table with data combined from files. It will be Null data.table if path did not match any of the files in S3 bucket.
You need make sure that all targeted files have the same header signature: order of the fields should not matter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.