-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consider using disk.frame as a backend to dbplyr #163
Comments
Thanks for bringing this to my attention. Are you saying that we should set up I probably need time to digest this. Some quick thoughts:
|
The database wouldn't necessarily need to be remote to work with dbplyr, I believe. The advantage would be that you wouldn't have to maintain the dplyr interface. |
I think you do, actually. This is because Unless it's remote, the attraction isn't there, because I want setting up a disk.frame to be of minimum hassle. A managed |
I also don't have much understanding of dbplyr - but this page: https://db.rstudio.com/best-practices/select-interface/ seems to suggest that the translation happens based on a "consistent set of functions that work across all connections" provided via the DBI package |
From what I can see, DBI can send SQL statements as strings to databases. It doesn't use Currently, So I think a |
While I think a |
With disk.frame you can apply native R functions efficiently but sqlite is more limited in that regard. But you can test out the speed? Or show me a dataset and a set of operation in sqlite and I can do a compare of the speed? |
I actually agree that |
disk.frame
seems naturally to fit as an alternative backend todbplyr
. Have you considered using the infrastructure you've set up in this way? Thedisk.frame
package would then be like the database access package and then all the front-end interaction stuff would be throughdplyr
?The interaction for the user would be substantially the same but the benefits would be:
https://db.rstudio.com/dplyr/
The text was updated successfully, but these errors were encountered: