downloadRawAidData: Download Raw Dataset

Description Usage Arguments Value Warning Examples

View source: R/downloadAidData.R

Description

Description

Usage

1
2
downloadRawAidData(dataset = "China", folder = "", filename = NULL,
  overwrite = FALSE)

Arguments

dataset

The Dataset chosen for download. Options currently include "China","AidDataCore".

folder

A character string containing the name of a subfolder of the current working directory where the dataset shall be saved in.

filename

A character string for the name of the file (without filetype ending).

overwrite

Logical T/F whether data shall be overwritten if existing already(Defaults to FALSE)

Value

A character string of the file path and name of the downloaded raw data.

Warning

Do not operate heavy machinery within 8 hours of using this function.

Examples

1
2
3
4
5
6
## Not run: 
downloadRawAidData(dataset = "China",
                   folder = "rawdata",
                   filename = "MyChinaData")

## End(Not run)

schliebs/aidR documentation built on Feb. 17, 2020, 10:26 a.m.