library(weathercan) library(dplyr)
This table shows details regarding original column (measurement) names and units of all weather measurements. It further provides links back to the ECCC glossary for more details.
For details on climate normals measurements, see the glossary_normals
vignette.
temp <- glossary %>% mutate(http = stringr::str_detect(ECCC_ref, "http"), ECCC_ref = replace(ECCC_ref, http & !is.na(http), paste0("[ECCC glossary page](", ECCC_ref[http & !is.na(http)], ")")), ECCC_ref = replace(ECCC_ref, !http & !is.na(http), "[See the 'flags' vignette](flags.html)")) %>% select(Interval = interval, `ECCC Name` = ECCC_name, `Formatted weathercan name` = weathercan_name, units, Reference = ECCC_ref) knitr::kable(temp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.