fetch_obis: Fetch the complete OBIS dataset

Description Usage Arguments Value

View source: R/fetch.R

Description

Fetch the complete OBIS dataset

Usage

1
2
3
4
5
6
7
fetch_obis(
  uri = query_obis(),
  path = get_root(),
  timeout = 600,
  unpack = TRUE,
  ...
)

Arguments

uri

charcater, the URL of the file to fetch - see query_obis

path

character, the path (directory to save data to)

timeout

integer, the timeout to set (system default is 60s, but we set default here to 600s)

unpack

logical, if TRUE unzip the file which will overwrite prior instances of 'occurrence.csv'

...

other arguments for download.file

Value

named integer, 0 for success, name is of the output file


BigelowLab/fullobis documentation built on Dec. 17, 2021, 10:51 a.m.