Skip to contents

Read a RIDL Resource

Usage

# S3 method for RIDLResource
ridl_resource_read(
  resource,
  sheet = NULL,
  format = NULL,
  download_folder = NULL,
  force_download = FALSE,
  quiet_download = TRUE,
  ...
)

# S3 method for RIDLResource
rr_read(
  resource,
  sheet = NULL,
  format = NULL,
  download_folder = NULL,
  force_download = FALSE,
  quiet_download = TRUE,
  ...
)

ridl_resource_read(
  resource,
  sheet,
  format,
  download_folder,
  force_download,
  quiet_download,
  ...
)

# S3 method for default
ridl_resource_read(
  resource,
  sheet,
  format,
  download_folder,
  force_download,
  quiet_download,
  ...
)

rr_read(
  resource,
  sheet,
  format,
  download_folder,
  force_download,
  quiet_download,
  ...
)

# S3 method for default
rr_read(
  resource,
  sheet,
  format,
  download_folder,
  force_download,
  quiet_download,
  ...
)

Arguments

resource

RIDLResource, a RIDL resource

sheet

character, the name of the sheet to read if XLS(X) resources. The first sheet is read by default.

format

character, file format, csv, zipped csv, excel, xlsx, zipped shapefile, etc.

download_folder

character, the path of the folder to store the downloaded data

force_download

logical, force download if TRUE

quiet_download

logical, silent download

...

extra parameters

Value

A tibble