Description Usage Arguments Details Value Author(s) Examples
View source: R/writeMonthlyStations.R
the function reads the master list and writes a local list of stations that report monthly data. It also returns an object dataframe. That dataframe can be fed to downstream processes
1 2 | writeMonthlyStations(filename = MASTER.STATION.LIST,
outfile = MONTHLY.STATION.LIST)
|
filename |
The filename of the master list. This is set to a default that should not be changed. |
outfile |
the local filename. Used by other functions. It should not be changed |
reads the master list. Extracts those stations that report monthly. Selects the first year reporting and the web Id for the http request builder. Assigns an Id to every station for file naming and tracking. The id it assigns is used for tracking the scrape progress and recovering from scrape failures.
returns a dataframe and writes that dataframe to disk.
can be read with read.csv
Steven Mosher
1 2 3 4 | ## Not run:
Stations <- writeMonthlyStations()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.