You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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:
And a user's session connected to a package:
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).
The text was updated successfully, but these errors were encountered:
@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:
And a user's session connected to a package:
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).
The text was updated successfully, but these errors were encountered: