Feature requests for data viewer filter

rstudio
feature-request

#1

A couple feature requests for the data viewer:

  1. Allow a way to filter by NA
  2. Allow direct entry of numeric values in addition or in place of the sliders. Filtering a value for 17 to 18 when the range of data is -1M to +1M is impossible.

Filtering a data frame for missing values
Filtering a data frame for missing values
#2

We've implemented #2 already in the RStudio daily builds. :slight_smile: You can try it out here -- let us know what you think!

https://dailies.rstudio.com/


#3

Hey @jonathan,
great that #2 will be added. Looking forward to have it in the stable version. My wish would be to have it like dplyr::filter. So, like allowing to enter strings like ">= 5" or "<5" to filter accordingly. Would that be possible?

Could you also add an option to filter Date and Posixct (and such) objects in the RStudio data viewer? As of now I sometimes cast dates to characters to get at least some filter options.


#4

In RStudio 1.2 you can brush the histogram to do something like this; for instance, to query for >= 3, just drag from 3 onwards:

(this is from View(c(1,2,3,4,5)))

Could you also add an option to filter Date and Posixct (and such) objects in the RStudio data viewer? As of now I sometimes cast dates to characters to get at least some filter options.

We don't currently have this capability yet (but feel free to file a request!)


#5

Thanks, @jonathan.

Will this also work if you have some million of rows and values accordingly? Just asking to prevent that the feature will be very laggy in larger data frames.

We don't currently have this capability yet (but feel free to file a request!)

How can I do so? Open a separate thread? Or is there a different system to make such requests?


#6

Here’s the guide! https://github.com/rstudio/rstudio/wiki/Writing-Good-Feature-Requests