Comments (3)
Thanks for your feedback.
ON your last thought, that makes sense. Fxns in this package may not be piped together themselves - more likely the output of a fxn in this pkg will go into a tidyverse pipeline
from sixtyfour.
@seankross With what's on main branch right now, all the inputs to our file fxns are now vectorized. however, this issue is about returning data frames from file and bucket fxns. The vectorized nature of the file fxns makes it easy - as pointed out in the s3fs
docs - to pipe these fxns together. However, if we output tibble's we won't be able to do that so easily (though still could be done i guess). One of the file fxns returns a tibble right now, whereas others return vectors. thoughts? if we returned df's i guess we could always run a fxn to get back the contents of the bucket to return?
I think it's easier to think about always returning dfs with bucket fxns
from sixtyfour.
For the file fxns I think it's mostly okay to be dealing in vectors because ultimately you're acting on and pushing around paths. Where in the case of aws_file_attr
you're going to get multiple variables returned for every one file. I'll try to think about a better heuristic but it's something like: no one-column data frames.
this is a poorly formed thought:
I am struggling to think of function where I would want a data frame as input, but I like data frames as outputs when multiple variables are returned per function input, because then you could do tidyverse stuff to that data frame, then grab the columns you need for the next function in the pipeline.
from sixtyfour.
Related Issues (20)
- Allow users to set their AWS account within exported functions?
- aws_bucket_delete visibly returns an empty list on successful bucket deletion HOT 1
- repo tidying
- RDS IAM flow function aws_user_add_to_rds
- use minio for s3 testing at least on gh actions HOT 1
- Impersonate for admins?
- Document minio usage in more detail
- Localstack HOT 1
- Magic functions HOT 1
- Fill out Description field in DESCRIPTION file
- Simulate user
- RDS list and create throwing errors HOT 2
- Is return value of aws_bucket_upload correct? HOT 4
- Return value for aws_file_delete HOT 2
- Users can see buckets they haven't been granted permissions for HOT 5
- aws_file_upload changes file w/o extension into a directory within the s3 bucket HOT 1
- magic function idea: six_bucket_delete HOT 5
- aws_secrets_all errors when there are no secrets HOT 2
- user with write permissions for bucket unable to upload folders or files HOT 5
- magic function: six_file_upload HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sixtyfour.