Before creating inventories or datasets the EnvCanada directory should be checked for completeness. Sometimes the scraping process will result in empty csv files. This function checks for empty files and returns a set of indices for re-scraping the empty files
The directory where the csv files live
The name of the cvs file with the list of stations that report monthly
The function uses
find csv files with zero size. Then it seatches the list of monthly
stations to find the index (1-7676) of that station Id and returns
the set of indices for files that have zero length. Thus the
scrapeToCsv can then be called with the results
A vector of indicies for empty files OR NULL
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.