nplyr
nplyr copied to clipboard
nplyr: a grammar of (nested) data manipulation :bird:
I know we weren't sure whether these belonged in a separate package or not, but I went ahead and just made them since it was pretty easy. No worries if...
Some common data wrangling tools that are used in dplyr-like pipe chains live in tidyr, rather than dplyr. Some would be fairly simple to create "nested" versions, since in general...
- [x] write bare-bones functions - [x] write bare-bones roxygen tags - [x] setup assertions - [x] setup tests - [x] write function documentation - [x] write package README -...
Lots of repetitive code, probably need to use different dataframe than gm_codes to better check full functionality of all the joins.
currently drops the non-nested cols... possibly will need to replace with a simple wrapper to `nest_mutate(..., .keep = "none")`
@markjrieke Great effort with the package! Changing every `purrr::map` to `furrr::future_map` (in general, every `purrr` function with equivalent `furrr` function) will help in: 1. Using parallel processing with user preferred...
Thank you for this package! Consider this data.frame: ``` gm_nest % tidyr::nest(country_data = -continent) Result: # A tibble: 5 × 2 continent country_data 1 Asia 2 Europe 3 Africa 4...
``` 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...
``` r library(stringr) library(dplyr) #> Warning: package 'dplyr' was built under R version 4.2.3 #> #> Attaching package: 'dplyr' #> The following objects are masked from 'package:stats': #> #> filter,...
``` r library(nplyr) library(tidyr) library(dplyr) #> Warning: package 'dplyr' was built under R version 4.2.3 #> #> Attaching package: 'dplyr' #> The following objects are masked from 'package:stats': #> #>...