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

Feature idea: Integrate rdataone w/ RStudio Connections #244

Open
amoeba opened this issue Feb 11, 2020 · 1 comment
Open

Feature idea: Integrate rdataone w/ RStudio Connections #244

amoeba opened this issue Feb 11, 2020 · 1 comment
Assignees
Milestone

Comments

@amoeba
Copy link
Contributor

amoeba commented Feb 11, 2020

@cboettig got me thinking about this so I figure I'd write it up for others to see too.

RStudio Connections are a nicely-integrated way for RStudio to connect R code to files, databases, etc. While you can still connect to any of these things with R code in a script, I think the Connections pane is a friendly way of helping a user manage such things.

It seems to me that we could connect DataONE and DataONE Data Packages to RStudio with this interface.

A user could register a Data Package as a connection and connect to it from a new session:

connection_connect

connection_new

And a user's session connected to a package:

connection_show

One feature of Connections that we probably would like here is that Connections automatically generate the necessary R code to connect to the source and will put it in your R script or RMarkdown automatically so the process of connecting to the Connection is scripted/documented.

I also think this is nice because it abstracts away the less interesting part of getting stuff from DataONE. A user can go from identifier to data.frame in as few steps as possible. They don't need to figure out where to store things if they don't want to because the files are stored on DataONE anyway so they can be retrieved again if lost.

PS: We might also be interested in the direction RStudio is going with [Pins][(https://github.com/rstudio/pins).

@gothub
Copy link
Collaborator

gothub commented Feb 11, 2020

@amoeba hey this looks great!

@gothub gothub added this to the 2.2.0 milestone Feb 14, 2020
@gothub gothub modified the milestones: 2.2.0, 2.3.0 Sep 1, 2020
@gothub gothub modified the milestones: 2.3.0, 2.2.0 Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants