getSaveMostRecentfolders: Get and save the most updated folders.

Description Usage Arguments Value

View source: R/getSaveMostRecentfolders.R

Description

This function selects the most updated trade folders and copies specific files to another directory. The files copied are: development.log and the entire folder datadir. The subfolder "datadir" is essential for creating the Pre-Processing Report.

Usage

1
2
getSaveMostRecentfolders(initialDir = initial, saveDir = save,
  minYear = minYearToProcess, maxYear = maxYearToProcess)

Arguments

initialDir

Path where there are the trade folders.

saveDir

Path where the most updated trade folders should be saved.

minYear

Minimum year to be processed the Pre-Processing Report.

maxYear

Maximum year to be processed the Pre-Processing Report.

Value

Folders copied to a specific directory.


SWS-Methodology/faoswsTrade documentation built on May 4, 2018, 1:23 p.m.