This function is deprecated and has been replaced by
read_shark().
shark_read_zip(zipname, delimiters = "point-tab", encoding = "latin_1")A data frame containing the parsed contents of the SHARK export file.
Path to the zip archive containing SHARK data (expects a file named shark_data.txt inside).
Character. Specifies the delimiter used to separate values in the file.
Options are "point-tab" (tab-separated) or "point-semi" (semicolon-separated).
Default is "point-tab".
Character. Specifies the text encoding of the file.
Options are "cp1252", "utf_8", "utf_16", or "latin_1".
Default is "utf_8". If encoding mismatch is detected, the detected encoding is used.
Uses unz() and read_delim() to extract and read tab-delimited or
semicolon-delimited files with standardized export format from SHARK.
Like shark_read(), this function is tolerant to encoding issues.
It allows a user-specified encoding (cp1252, utf_8, utf_16, or latin_1),
but also automatically detects the encoding from the file content.
If the detected encoding does not match the specified one,
the detected encoding is preferred.
This ensures files with wrongly labeled or inconsistent encodings are still read correctly.