Comments (5)
@vorpalvorpal, now that DataEditR uses a modular design (available on the devel
branch), it should be possible to add support for such operations. There will be a few things that will need to be figured out:
- These operations will need to be performed independently of
rhandsontable
as any call tohot_cols()
will mess around with other data editing capabilities. Furthermore, as far as I knowrhandsontable
only supports sorting of numeric columns. - Based on the above point, this means that we could write
dataSort
anddataFilter
modules to handle these operations. The major question would be what should the UI look like? The reason this is not currently implemented is to maximize the space available to display the data for editing - adding additional UI elements will require more scrolling to view the data. - To maximize available space, I will need to add arguments to
data_edit()
to allow control over which modules to include in the application (e.g. logical argumentsinput
,output
,edit
,sort
andfilter
). - There will also be additional complexity in getting the modules to appropriately communicate with one another, for example if you edit a filtered dataset but want to update the entire dataset as well.
- Changing column order is supported by
rhandsontable
but has been deliberately turned off for now as it adds another layer of complexity when converting interactive edits into code (still a work in progress). However, I think it may be possible to add back support for this if I simply compare the output data to the original data and convert this into code.
The key will be in designing an appropriate and minimalist UI to support these operations - I will think about it and see if I can come up with something that will work.
from dataeditr.
That's a good point about the UI. I hadn't really thought about that.
from dataeditr.
@vorpalvorpal, I just realised that you can actually filter the data by typing in the filtering steps into the data
field. For example, if you only wanted to extract/view/edit only the setosa
species in iris
dataset:
This also means that you can do things like head(iris)
and tail(iris)
to look at the top and bottom rows of the data.
from dataeditr.
@vorpalvorpal I have added column selection and row filtering modules to the new version of DataEditR that is now available on GitHub.
devtools::install_github("DillonHammill/DataEditR")
from dataeditr.
I just checked it out. Looks awesome! You're a champion.
from dataeditr.
Related Issues (20)
- data_edit() crashes when code is highlighted before running HOT 12
- Option to not display rownames in editor
- data_edit crashes when synchronizing edited filtered data HOT 6
- Using data_edit() to Modify Data in Databases
- FIlter rows multiple times
- slow to update
- Data Not Saving HOT 3
- Error in shinytheme(theme): HOT 9
- yeti is not an available theme HOT 2
- type.convert turns in certain cases numerics to integer, so that only integers are allowed when editing HOT 4
- Calling process terminates 30ms after exiting from DataEditR HOT 2
- Different return value for cancel button HOT 2
- Print edited table in shiny app HOT 1
- Feature Request: Edit geospatial attributes HOT 1
- Feature Request: Add/Remove cell above/cell below
- Bad priority handler in dataEditServer HOT 6
- DataEditR does not return modified R object HOT 5
- Data table not showing data_edit
- dataEditServer - change of input dataset not working inside of modal
- DataEditR not synching on posit Cloud HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataeditr.