A tibble containing the data from the Paradox file.
Arguments
path
A character string specifying the path to the Paradox (.db) file.
encoding
An optional character string specifying the input encoding of
the data (e.g., "cp866", "cp1252"). If NULL (the default), the encoding
is determined from the file header.
password
Optional character string. The password used to decrypt the
Paradox file. If the file is encrypted and no password is provided,
reading usually fails or returns garbage.
Details
This function simplifies the process of reading Paradox files by handling the
complete workflow in a single call:
It validates the input path and encoding.
It safely opens a handle to the file using pxlib_open_file().
It ensures the file handle is always closed using on.exit(), even if
errors occur during data reading.
It reads the data using pxlib_get_data().
It returns a clean tibble.
If the specified file does not exist, the function will issue a warning and
return an empty tibble.