Learn R Programming

dataversionr (version 0.9.0)

put_backup: Put backup

Description

Write a data frame to the backup section of a versioned dataset

Usage

put_backup(new_df, destination)

Value

TRUE

Arguments

new_df

a data frame

destination

a local directory path or an arrow SubTreeFileSystem

Examples

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

put_backup(df, temp_dir)

Run the code above in your browser using DataLab