Method for checking basic properties of the dataset stored in path.

metadata_fst(path, old_format = FALSE)

fst.metadata(path, old_format = FALSE)

Arguments

path

path to fst file

old_format

use TRUE to read fst files generated with a fst package version lower than v0.8.0

Value

Returns a list with meta information on the stored dataset in path. Has class fstmetadata.

Examples

# 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 write_fst(x, "dataset.fst") # Display meta information metadata_fst("dataset.fst")
#> <fst file> #> 10 rows, 3 columns (dataset.fst) #> #> * 'First' : integer #> * 'Second': logical #> * 'Last' : factor