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

search, filter #2

Open
jennybc opened this issue Apr 10, 2015 · 13 comments
Open

search, filter #2

jennybc opened this issue Apr 10, 2015 · 13 comments

Comments

@jennybc
Copy link
Contributor

jennybc commented Apr 10, 2015

@timelyportfolio raised this question on twitter … yes it would be nice to be able to search or filter the list being inspected. This could be taken literally or maybe just control the initial state of the expansion toggle I see in the example based on par().

This new CRAN package searchable has intriguing functionality.

It feels like an XPath-like syntax for communicating which parts of the list are interesting would be worth exploring.

@timelyportfolio
Copy link
Owner

Very interesting as a general topic. I was not aware of searchable, so will explore it. Also, I think you are aware of the powerful searching/filtering, etc. from @renkun-ken rlist http://renkun.me/rlist-tutorial/Features/Filtering.html.

I wonder how best to pair listviewer with this enhanced search functionality.

@jennybc
Copy link
Contributor Author

jennybc commented Apr 10, 2015

I should try the rlist filtering functions. They seem more focused on filtering by content than by name or attributes. I need to specify name filters, several layers deep, by regex, hence the idea for XPath-ish syntax. But maybe rlist does this...

@timelyportfolio
Copy link
Owner

You making good progress? Happy to try to answer questions. rlist is full of all sorts of potential and just needs a healthy dose of imagination.

@timelyportfolio
Copy link
Owner

should reference renkun-ken/rlist#104 (comment) and renkun-ken/rlist#110

@randomgambit
Copy link

@jennybc @timelyportfolio I am not quite sure this is what Jenny proposed, but it would be very nice to be able to highlight the matched terms when one uses the search function.

For instance, in each row of my dataframe I store several paragraphs of texts. Now using the search function for a specific term in listviewer will highlight the whole paragraph, but not the exact word in the paragraph. That is annoying when one checks if regex functions were counting the words properly, etc

What do you think?
Thanks!

@randomgambit
Copy link

@jennybc @timelyportfolio does that make sense? thanks!!

@timelyportfolio
Copy link
Owner

@randomgambit yes definitely makes sense and is a great idea. I will not have time to work on it unfortunately for a couple of weeks though. I am guessing this could be accomplished with https://markjs.io/ but will need to explore more.

@randomgambit
Copy link

@timelyportfolio that would be amazing. I think this package is absolutely amazing. I use pretty large datasets that contain text, timestamps and jsonedit is the only way to explore the data without messing with the print format in the console.

@timelyportfolio
Copy link
Owner

I thought this would be fairly straightforward, but unfortunately without a good event stream from jsoneditor, the asychrony and dom manipulation results in a very poor outcome. I will need some more time and thought to successfullly tackle this one :(

@randomgambit
Copy link

hello, any update on this? are you aware of other similar data content visualization tools?
Thanks!

@timelyportfolio
Copy link
Owner

@randomgambit, I never figured this one out. Hoping the new React version of jsoneditor will help address this, but this version seems like it will not be in the near future. I'll stay on the lookout for other libraries to solve this. As of now I do not know of anything. Sorry.

@randomgambit
Copy link

ok.. thanks for helping out anyway. in any case, there is no other list viewer like your at the moment, right?

@randomgambit
Copy link

Hi @jennybc @timelyportfolio how are you? just checking.. any update on this? This package is amazing and I truly believe this feature is the only missing piece... highlighting the search terms into each cell would be amazing!! I saw a new update of the package. are there any good news here? :) thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants