zip_map: zip_map

View source: R/zip_meta.R

zip_mapR Documentation

zip_map

Description

map a function across the contents of a zip file. Default reads each element using read.csv into a list created by purrr::map

Usage

zip_map(path, .f = utils::read.csv, map_f = purrr::map, zipMeta = NULL)

Arguments

path

path to zip file, to pass to

.f

function to map, default utils::read.csv

map_f

describes how .f will be mapped.

zipMeta

automatically obtained via zipMeta = unzip(path,list = T) unless an alternative is specified. Files to be read must be stored in zipMeta$Name

Author(s)

W. S. Drysdale


willdrysdale/wsdmiscr documentation built on Aug. 26, 2023, 12:31 a.m.