Skip to contents

Names of "Tables" Provided in Zip Archive

Usage

contained_tables(zip_file, config)

Arguments

zip_file

path to zip archive file (.zip or .7z)

config

csv configuration mapping table names to file names

Value

vector of character containing the names of the tables for which corresponding files have been found in the given zip archive

Examples

kwb.prep::contained_tables(
  zip_file = kwb.prep:::invalid_zip("five-rows.zip"), 
  config = list(
    pipes = list(file = "Haltungen_SAN_utf8.csv"),
    trees = list(file = "Haltungen_Baeume_utf8.csv"),
    animals = list(file = "no-animals-there.csv")
  )
)
#> [1] "pipes" "trees"