uri_read_using: Analogous to 's3read_using()' but switches between file path,...

View source: R/download.R

uri_read_usingR Documentation

Analogous to s3read_using() but switches between file path, http(s) and S3 automatically

Description

Analogous to s3read_using() but switches between file path, http(s) and S3 automatically

Usage

uri_read_using(
  FUN,
  uri,
  ...,
  filename = tempfile(fileext = file_ext(uri)),
  progress = TRUE,
  ssl_no_verify = FALSE
)

Arguments

FUN

function accepting file path as first argument

uri

Character string specifiying S3 URL, HTTP(S) URL or local file path

...

passed as extra arguments to FUN

filename

File name to save object to (defaults to using tempfile())

progress

Toggle display of progress bar

ssl_no_verify

Toggle SSL certificate verification (not recommended)


Paradigm4/revealcore documentation built on May 21, 2023, 9:57 a.m.