Skip to content
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

Any chance of an R DBI implementation? #25

Open
jameshowison opened this issue Jul 5, 2017 · 1 comment
Open

Any chance of an R DBI implementation? #25

jameshowison opened this issue Jul 5, 2017 · 1 comment

Comments

@jameshowison
Copy link

I'd love to use data.world as a backend for SQL but have it work in R Notebooks via the knitr {sql} engine. That enables students to simply write SQL and not have to worry about the R code around it.

Two ways forward I think:

  1. A datadotworld knitr engine (replacing the sql engine). I tried that but run into some trouble because R Notebooks via RStudio worked differently than straight Knitr. I posted about that on a comment at: http://rmarkdown.rstudio.com/authoring_knitr_engines.html (might still be in moderation?)

  2. Implement a (limited) DBI backend for the data.world API. That would be broadly useful but in this specific case it would make the knitr sql engine "just work". The basics of constructing a DBI compliant backend look like it might be possible?
    https://cran.r-project.org/web/packages/DBI/vignettes/backend.html

@scottcame
Copy link
Collaborator

In the past few months, an open source (CC0) DBI driver became available here: https://github.com/carljv/dwDBI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants