powered by
Read in the latest version of a versioned dataset to a data frame
get_latest(destination, collect = TRUE)
a data frame or an arrow dataset
a local directory path or an arrow SubTreeFileSystem
should we return a data frame (TRUE) or an arrow dataset connection (FALSE)
temp_dir <- tempfile() dir.create(temp_dir, recursive = TRUE) df <- data.frame(a = 1:5, b = letters[1:5]) put_latest(df, temp_dir) get_latest(temp_dir) unlink(temp_dir)
Run the code above in your browser using DataLab