Reads the raw World Bank GDP CSV, reshapes it to long format via a for loop, writes the processed data as a CSV to disk, and saves it to processed data.
Arguments
- PATHS
List. Project paths object with components
DATA_RAWandDATA_PROCESSED.Reads the newest raw CSV for indicator
NY.GDP.MKTP.CDinfile.path(PATHS$DATA_RAW, 'world_bank', 'GDP')(seedownload_WB_data()).Writes
file.path(PATHS$DATA_PROCESSED, 'world_bank', 'world_bank_GDP_data.csv'), creating the directory if needed.
