rhoinc / datadigest Goto Github PK
View Code? Open in Web Editor NEWConcise interactive data summaries in R
Home Page: https://rhoinc.github.io/web-codebook/test-page/default/
License: Other
Concise interactive data summaries in R
Home Page: https://rhoinc.github.io/web-codebook/test-page/default/
License: Other
Users can select a file (csv or sas7bdat) and have it appear on the files tab in the explorer() shiny app.
Shiny htmlwidgets bindings. It would be helpful to add a hello-world app example to the help pages that calls renderExplorer() and explorerOutput() etc. (via Xiao Ni)
Add inputs to the .instructions
section of the files tab that allow users to add files to the codebook.
Files
tabFiles Tab
related to RhoInc/web-codebook#190
Tibbles with list-columns will not render well in codebook/explorer. Tibbles that are more or less a DF will work fine.
For this reasons, we accept tibbles, but produce warning if tibble is provided in dataList/env
Alternatively, we could ignore tibbles altogether and require pure DFs.
Convert any missing values to character strings for appropriate parsing in JavaScript
example: explorer(data=mtcars)
I think filtering will be a really useful feature. A few thoughts came to mind for improvement: 1. allowing "OR" between variables 2. use the RStudio "subset dataframe" add-in idea to allow query strings 3. providing a slider bar filter for continuous variables (via Xiao Ni)
Hi there,
Congrats about the package, I find it really useful!
Unfortunately, my R Studio session runs out when I am passing a big dataframe (>800000 observations and 26 variables) to datadigest. Even with smaller dataframes the performance is not very good when I use the filters.
datadigest::codebook(data = df1)
I am working on an R Studio instance on a company server and I should have enough memory both locally (16GB) and my quota on the server. Are the df passed to the RAM memory? Could this have anything to do with tibble format? Or with an older version of JavaScript installed on the server?
Thank you in advance for any help you can provide
code example: explorer(demo=TRUE)
The default setting is addEnv=TRUE. If demo=TRUE, only the demo data will be loaded (as desired). However, if user does not explicitly set addEnv to FALSE, and no data are loaded into the R session, user receives warning about no data being available in R session.
Desired behavior would be that addEnv is forced to FALSE and no warning is displayed.
The warnings seem inconsequential, so have temporarily suppressed them.
If a dataset is passed through both the data= argument and the addEnv=TRUE option, both are shown in files pane. Modify to show only unique data files in this view.
a <- mtcars
b <- iris
c <- airquality
works as expected:
explorer(data=list(a,b, c), addEnv=FALSE)
does not work as expected ("a" and "c" are not loaded):
explorer(addEnv=TRUE)
We believe this is an issue with the package build, as explorer() function works correctly outside of package. This bug also occurs in codebookApp(), where data frames in the R session are auto-loaded into the app.
... and consider whether the new type
parameter should be used by default.
At a minimum, add support for .xpt and .rda
I'm not a coder, I'd like to know if it is possible to feed the data from mysql? and is it possible to add more rows and columns to codebook? thanks.
Codebook is cut-off and scrolling is a pain in viewer panel. Can we just show a warning and tell user to launch the app or open in a webpage instead?
Need to figure out what the standard R way to add metadata to data frames, and then show that info in the files tab.
Construct an object suitable for explorer.settings.meta[]
This code loads the demo files even though a files is loaded in the session.
devtools::install_github('RhoInc/codebook',ref="v0.2.0")
library(codebook)
testFile1<-iris
testFile2<-cars
explorerApp()
After using the shiny UI to load a file from disk, testFile1 and testFile2 appear (along with the loaded file).
When calling explorer(demo=T)
, show the file descriptions in the web-codebook.
Per @sjlussier - current code does not process dates correctly. Error is thrown if data contains a variable with class of "Date" or "difftime".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.