View source: R/check_parquet.R
check_parquet | R Documentation |
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.
check_parquet(path)
path |
path to the file or dataset |
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.
a tibble with information on parquet dataset/file's columns with three columns : field name, arrow type and nullable
# check a parquet file
check_parquet(parquetize_example("iris.parquet"))
# check a parquet dataset
check_parquet(parquetize_example("iris_dataset"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.