bulkBlockDownload: Bulk Block Download

Description Usage Arguments Value

View source: R/bulkBlockDownload.R

Description

Breaks a large block range up and manages the download size. All downloaded blocks will be stored in a ethr_blocks folder in the data_dir. Uses doParallel package to create a multithread workgroup to increase download speed.

Usage

1
2
bulkBlockDownload(start_block, end_block, data_dir, chunk_size = 50000,
  parallel = TRUE, cores = 3)

Arguments

start_block

numeric, Starting block number.

end_block

numeric, Ending block number.

data_dir

path, Desired folder for storing analysis table in.

chunk_size

numeric, Chunk size to Download.

parallel

logical, Should plyr operate in parallel.

cores

numeric, number of cores to be intialised. Suggested n - 1, where n is localhosts number of cores.

Value

saves .RData file within ethr_blocks folder in the data_dir.


BSDStudios/ethr documentation built on May 5, 2019, 10:26 a.m.