R/Url.R

########### URLS for Canada scraper
 
STATION.URL  <- "https://scraperwiki.com/api/1.0/datastore/sqlite?format=csv&name=can-weather-stations&query=select+*+from+`swdata`"
BASE.URL <-"http://climate.weatheroffice.gc.ca/climateData/bulkdata_e.html?timeframe=3&Prov=XX&StationID="
YEAR.URL <-"&Year="
FORMAT.URL <-"&Month=1&Day=1&format=csv"
MASTER.STATION.LIST <- "EnvCanadaMaster.csv"
MONTHLY.STATION.LIST <- "MonthlyStations.Env.csv"
STARTING.STATION.ID  <- 99111111
DATA.DIRECTORY       <- "DataDirectory"

Try the CHCN package in your browser

Any scripts or data that you put into this service are public.

CHCN documentation built on May 2, 2019, 8:53 a.m.