Description Usage Arguments Examples
This function takes a pre-formatted Environment Canada daily climate dataset and prepares it for use in the asmrCalc() function.
1 | cleanECData(climateData)
|
climateData |
Climate data must be imported correctly. Need to have year, month, day, tmn, tmx and ppt columns. |
1 2 3 4 5 | require(weathercan)
smithersData<-
weathercan::weather_dl(station_ids=487,interval="day",start="1955-01-01",end="1995-12-31") %>%
select(stn=station_name,date,tmn=min_temp,tmx=max_temp,ppt=total_precip,year,month,day)
cleanECData(smithersData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.