read_in_zip: Read a file match a pattern inside a zip file

View source: R/read_data_utils.R

read_in_zipR Documentation

Read a file match a pattern inside a zip file

Description

may be to improve caching file, in case one wants to read again without the need to extracting again

Usage

read_in_zip(file, pattern, readfn = haven::read_dta)

Arguments

file

the path to the zip file

pattern

a regex pattern

readfn

what function use to read the file?


kklot/ktools documentation built on Aug. 13, 2024, 7:08 p.m.