Zip
Load the contents of zipped data
Input/output
The zip
driver expects data to be provided via IO
or a FilePath
.
It can load the contents to the following formats:
Dict{FilePath, IO}
,Dict{String, IO}
,IO
, and- an unzipped
FilePath
.
Required packages
ZipFile
Parameters
file
: the file in the zip whose contents should be extracted, when producingIO
.extract
: the path that the zip should be extracted to, when producing an unzippedFilePath
.recursive
: when extracting to aFilePath
, whether nested zips should be unzipped too.
Usage examples
[[dictionary.loader]]
driver = "zip"
file = "dictionary.txt"