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

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?