s3_read | R Documentation |
Read S3 file to R guessing type from extension
s3_read(s3_url, conf = list(), args_read = list(), ...)
s3_url |
string S3 URL to read. Needs to include the bucket and protocol (s3://bucket_name/) |
conf |
list with 'key', 'secret', 'region', and 'base_url' parameters. If missing, will look for AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_DEFAULT_REGION in environment variables. |
args_read |
optional, additional arguments passed to read function |
... |
additional arguments passed to aws.s3::save_object |
## Not run: s3_read("s3://hfty-test-bucket/cars.rds") s3_read("s3://hfty-test-bucket/cars.csv") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.