Method for checking basic properties of the dataset stored in path.
metadata_fst(path, old_format = FALSE)
fst.metadata(path, old_format = FALSE)Returns a list with meta information on the stored dataset in path.
Has class fstmetadata.
# Sample dataset
x <- data.frame(
First = 1:10,
Second = sample(c(TRUE, FALSE, NA), 10, replace = TRUE),
Last = sample(LETTERS, 10))
# Write to fst file
fst_file <- tempfile(fileext = ".fst")
write_fst(x, fst_file)
# Display meta information
metadata_fst(fst_file)
#> <fst file>
#> 10 rows, 3 columns (file8050460fc19e8.fst)
#>
#> * 'First' : integer
#> * 'Second': logical
#> * 'Last' : character