tempdir_data: Download to and retrieve from the temporary directory a...

View source: R/tempdir_data.R

tempdir_dataR Documentation

Download to and retrieve from the temporary directory a Eurostat dataset

Description

To save time of downloading and processing during a session, the download functions rely on the use of saving copies in the tempdir(). The downloads are always placed there and each import looks for them first in the tempdir().

Usage

tempdir_data(id, force_download)

Arguments

id

The id of a Eurostat product.

force_download

Defaults to FALSE which will use the existing downloaded file in the data_directory or the temporary directory, if it exists. TRUE will try to download the file from the Eurostat warehouse.


rOpenGov/iotables documentation built on Jan. 26, 2024, 3:06 a.m.