get_backups: Get backups

View source: R/get_backups.R

get_backupsR Documentation

Get backups

Description

Read the backups in a versioned dataset to a data frame or an arrow dataset

Usage

get_backups(destination, collect = TRUE)

Arguments

destination

a local directory path or an arrow SubTreeFileSystem

collect

should we collect the underlying arrow dataset or return just the connection?

Value

an arrow dataset

Examples

temp_dir <- tempfile()
dir.create(temp_dir, recursive = TRUE)
df <- data.frame(a = 1:5, b = letters[1:5])
put_backup(df, temp_dir)


get_backups(temp_dir)


dataversionr documentation built on Aug. 18, 2022, 9:06 a.m.