download_objects: Download objects from an MN, optionally in parallel

Description Usage Arguments Value

View source: R/download_parallel.R

Description

This function uses the future package and therefore allows downloads to happen in sequential order or parallel.

Usage

1
download_objects(node, pids, path = getwd(), ext = ".xml", overwrite = FALSE)

Arguments

node

(CNode|MNode) The Node to download from

pids

(character) One ore more PIDs to download from the node

path

(character) The destination directory for downloadd Objects

ext

(character) Optional. Specify a custom file extension to add to each downloaded file

overwrite

(boolean) Whether to overwrite existing files (TRUE) or not (FALSE)

Value

(list) A list of file paths for the downloaded files


amoeba/eatocsv documentation built on Oct. 10, 2020, 9:51 p.m.