drop_history: Obtains metadata for all available revisions of a file,...

Description Usage Arguments Value Examples

View source: R/drop_history.R

Description

Does not include deleted revisions.

Usage

1
drop_history(path, limit = 10, dtoken = get_dropbox_token())

Arguments

path

path to a file in dropbox.

limit

maximum number of revisions to return; defaults to 10.

dtoken

The Dropbox token generated by drop_auth. rdrop2 will try to automatically locate your local credential cache and use them. However, if the credentials are not found, the function will initiate a new authentication request. You can override this in drop_auth by pointing to a different location where your credentials are stored.

Value

tbl_df of metadata, one row per revision.

Examples

1
2
3
4
5
6
7
8
## Not run: 
  write.csv(iris, file = "iris.csv")
  drop_upload("iris.csv")
  write.csv(iris[iris$Species == "setosa", ], file = "iris.csv")
  drop_upload("iris.csv")
  drop_history("iris.csv")

## End(Not run)

rdrop2 documentation built on May 1, 2019, 8:44 p.m.