download: Download Something from BacDive

View source: R/util-download.R

downloadR Documentation

Download Something from BacDive

Description

Both user and password are read from the .Renviron file by default.

Usage

download(URL, user = get_credentials()[1],
  password = get_credentials()[2])

Arguments

URL

A correctly encoded character string, either from construct_url() or a JSON list

Value

The R object deserialised from the downloaded JSON


TIBHannover/BacDiveR documentation built on June 2, 2022, 2:51 p.m.