redivis::file

redivis::file(file_id) File

Create a reference to a non-tabular file based on its globally unique id. In most cases, the Table.list_files() method will be used instead.

Parameters:

file_id : str The globally unique reference to the file

Returns:

File

Examples

f <- redivis::file("rnwk-acs3famee.pVr4Gzq54L3S9pblMZTs5Q")

download_location <- f$download("./my-downloads")

# Do stuff with the file!
f <- read_file(download_location)

Last updated