prepAidData.Rd
Description
prepAidData(filepath = "rawdata/WITS_trade.zip", dataset = "WITS")
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", . |
A data frame with the output data (further cleaning to be added.)
Do not operate heavy machinery within 8 hours of using this function.
# NOT RUN { df <- downloadRawAidData(dataset = "China") %>% prepAidData(filepath = ., dataset = "China") head(df) df <- prepAidData(filepath = "AidDataChina.zip", dataset = "China") head(df) # }