copy_file: copy a Google Drive file

Description Usage Arguments Value

View source: R/files.R

Description

takes a Google Drive file and creates a copy of it, with the same access restrictions.

Usage

1
copy_file(file_id, ...)

Arguments

file_id

the ID of a file - or the full URL for accessing it via your browser. See file_metadata for further discussion.

...

further arguments to pass to httr's POST.

Value

a set of metadata associated with the copy of the file, matching the output of file_metadata.


noamross/driver documentation built on May 23, 2019, 9:30 p.m.