nplyr icon indicating copy to clipboard operation
nplyr copied to clipboard

It does not actually works with data frames nested into a column-list

Open giuliogcantone opened this issue 1 year ago • 0 comments

tibble(
  id = 1:5,
  location = list(
    data.frame(id = 1, county = "Sussex"),
    data.frame(id = 2, county = "Surrey"),  
    data.frame(id = 3, county = "Kent"),
    data.frame(id = 4, county = "Essex"),
    data.frame(id = 5, county = "Sussex")
  )  
) -> my_tibble

my_tibble %>%
  nest_filter(location, county == "Sussex")

Error: argument `.nest_data` msut be of class "grouped_df", "tbl_df", "tbl", "data.frame".

giuliogcantone avatar Sep 24 '23 15:09 giuliogcantone