yotov_db_download: Download the Yotov database to your local computer

Description Usage Arguments Details Examples

View source: R/download.R

Description

This command downloads the Yotov trade database and populates a local database. The download is 31.4 MB, and the database uses 3 GB on disk. During import over 3.5 GB of disk space may be used temporarily.

Usage

1
2
3
4
5
6
yotov_db_download(
  tag = NULL,
  destdir = tempdir(),
  cleanup = TRUE,
  verbose = interactive()
)

Arguments

tag

What release tag of data to download. Defaults to the most recent. Releases are expected to come twice per year. See all releases at https://github.com/pachamaltese/yotover/releases.

destdir

Where to download the compressed file.

cleanup

Whether to delete the compressed file after loading into the database.

verbose

Whether to display messages and download progress

Details

The database is stored by default under tools::R_user_dir("yotover"), or its location can be set with the environment variable YOTOV_DB_DIR.

Examples

1
2
3
4
## Not run: 
yotov_db_download()

## End(Not run)

yotover documentation built on Jan. 28, 2021, 9:06 a.m.