Description

prepAidData(filepath = "rawdata/WITS_trade.zip", dataset = "WITS")

Arguments

filepath

A character string of either a folder or zipfile (including suffix) including the data.

dataset

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

Value

A data frame with the output data (further cleaning to be added.)

Warning

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

Examples

# NOT RUN {
df <-
downloadRawAidData(dataset = "China") %>%
prepAidData(filepath = .,
           dataset = "China")
head(df)

df <-
 prepAidData(filepath = "AidDataChina.zip",
             dataset = "China")
head(df)
# }