check_parquet: Check if parquet file or dataset is readable and return basic informations
Description
This function checks if a file/dataset is a valid parquet format.
It will print the number of lines/columns and return a tibble on columns
information.
Usage
check_parquet(path)
Value
a tibble with information on parquet dataset/file's columns with
three columns : field name, arrow type and nullable
Arguments
path
path to the file or dataset
Details
This function will :
* open the parquet dataset/file to check if it's valid
* print the number of lines
* print the number of columns
* return a tibble with 2 columns :
* the column name (string)
* the arrow type (string)
You can find a list of arrow type in the documentation
on this page.