metadata_parquet | R Documentation |
Query column names and column types of an Apache Parquet data file.
metadata_parquet(file)
file |
Path to a Parquet file |
A data frame with two columns:
name
Column names
type
Column types, as returned by the
ParquetFileReader$GetSchema()
method. This does not directly correspond to navtive R data types
but should be informative nevertheless.
AndrĂ¡s Svraka
arrow::write_parquet()
, arrow::read_parquet()
tmp <- tempfile()
arrow::write_parquet(iris, tmp)
metadata_parquet(tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.