Description Usage Arguments Details Value Note Author(s)
Read an S3 bucket or push, pull or delete an RDs data from the S3 bucket.
1 2 3 4 5 6 | RDs_and_S3(
dfs = NULL,
objects = NULL,
bucket,
choice = c("watch_bucket", "push", "pull", "delete")
)
|
dfs |
dataset or a list of datasets |
objects |
vector of files in S3 (it could be folder/file path) |
bucket |
name of your S3 bucket |
choice |
choice that we want to do with the RDs data |
This function allows you to read an S3 bucket or manipulate an RDs data with S3 AWS
"This function returns different results based on choice
variable:"
If choice = "watch_bucket"
then you only need to use the variable bucket
to see what is inside the AWS S3 bucket.
If choice = "push"
then you need to use the variable dfs
representing the dataset (or a list of datasets) in your R session, the objects
representing the path on AWS S3. and the name of your bucket
.
If choice = "pull"
then you need to use the variable objects
representing a vector of path of your RDs data on AWS S3. and the name of your bucket
to pull in our R-session.
If choice = "delete"
then you need to use the variable objects
representing a vector of path of your RDs data on AWS S3. and the name of your bucket
to delete in AWS S3.
You can use this function inside your shiny app.
If mongo_choice = "push"
then in AWS S3 is going to be an RDs data (s).
Eduardo Trujillo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.