-
Notifications
You must be signed in to change notification settings - Fork 136
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
Feedback #30
Comments
Thanks for the input @mexindian! Replies below:
Thanks again @mexindian ! |
|
2, Correct. Use |
re: 5... My use case. I work with about 20-30 databases, and frequently need to connect here and there. So I'm thinking of a df that contains DSN names, driver type and connection info for each database. Save it as a csv. Then this file could be loaded by an analyst, who would check a box saying "database index file" or some such, then click load. This would enable a dropdown with all the database DSN names. Once a user clicks on a db name, then Radiant connects to the db and harvests all the table names, which it populates into a multi-select dropdown. From there users can select what to read in. Is my use-case too narrow? |
I think you can do something like this through Rstudio's new Connections tab. Take a look at: https://support.rstudio.com/hc/en-us/articles/115010915687-Using-RStudio-Connections You may need the preview version of Rstudio for this. I have posted an issue to the rstudioapi package to see if it is possible to get access to the feature and/or the connection history from a Shiny app. We'll see how they respond |
Yeah, exactly... the connections save on my pc... but you can also output the info to a code-chunk or a new file... and that file could be uploaded to radiant as a data source. my dataframe idea above was just to manage multiple dbs rather than just 1... but the concept remains the same. |
I'll look into this in more detail in the next few weeks @mexindian |
Outstanding! Congratulations, this is really outstanding work, and I'm contemplating introducing this in my workplace!
I have some feedback though:
I love how you have https://radiant-rstats.github.io/docs/design/doe.html which perfectly mimics the app. That's awesome and a great idea! I think a bit of functionality could be provided by adding a hyperlink with a questionmark to each panel (perhaps next to the Print/Download icon that exists on each page? This would provide a quick reference to each help item. Failing this, you could easily have a HELP menu that could hyperlink to the document, with also an ABOUT tab and version info.
I'm not too fond of the Data-> Manage visual. It's for all intents and purposes a crappier version of what you see in Data -> View and for large datasets doesn't really show anything interesting. Could I recommend that this first view contain three things (obviously linked to checkboxes):
str(df)
,summary(df)
and as a visual, it could have this: https://ropensci.org/blog/blog/2017/08/22/visdat (though you might prefer for this to be a seperate tab)Two omissions in the Data Science portfolio that I noticed are Random Forests and PCA. Random Forests would obviously go under Modelling, and PCA ... tough. I would want to give it some visibility... but it prolly makes most sense under a new menu: Data-> Reduce? I don't know...
For the correlation plot, if you use
PerformanceAnalytics::chart.Correlation
, it even let's you group by another variable... check for example:PerformanceAnalytics::chart.Correlation(iris[-5],pch=21, bg='Species')
, as well as showing some more stats. What do you think? I mean, this one is full of warnings, but it's coo, no?To connect to databases, i don't know if you have seen that Rstudio have this new
odbc
package that has a bunch of new features... I think probably without tooo much trouble we could provide the functionality that people save code snippets with the ODBC data needed to connect to their dbs... and as soon as they load that, we could populate "Datasets" with the tables in the db.Anyway... don't want to overwhelm w/ too much stuff... I'm just excited! Please let me know what you think about all this stuff... if you are interested we can probably split up this issue into sub-issues. I would be willing to help with some of this stuff, if you want! What say you?
The text was updated successfully, but these errors were encountered: