Skip to contents

Downloads a specified dataset table from the IRW datasource.

Usage

irw_download(
  table_name,
  path,
  overwrite = FALSE,
  source = "core",
  sim = FALSE,
  comp = FALSE,
  nom = FALSE
)

Arguments

table_name

A character string specifying the name of the Redivis table to download.

path

A string giving the file path the data are saved to. There is no default: name the file yourself, e.g. "frac20.csv", or use tempfile(fileext = ".csv") for a throwaway copy.

overwrite

Logical. Whether to overwrite an existing file.

source

Character. The data family: "core" (default), "nom", "sim", or "comp".

sim

Deprecated. Use source = "sim" instead.

comp

Deprecated. Use source = "comp" instead.

nom

Deprecated. Use source = "nom" instead.

Value

A message confirming the file download location.