map_and_rbind {ptvapi}R Documentation

Map and rbind a list of data frames

Description

This function is a simple combination of purrr::map and purrr::reduce using rbind. This differs from purrr::map_dfr, which uses dplyr::map_dfr and therefore introduces dplyr as a dependency. If the provided list is empty, then an empty tibble will be returned.

Usage

map_and_rbind(.x, .f, ...)

Arguments

.x

A list of data frames or tibbles.

.f

A function.

...

Additional arguments passed to the function.

Value

A data frame or tibble.


[Package ptvapi version 2.0.5 Index]