calcofi | R Documentation |
FIXME: need to support other data sets in CALCOFI
calcofi(dataset = "hydro_cast", path = "~/.ots/calcofi", overwrite = TRUE)
dataset |
A dataset code name, one of hydro, macrozoo, or X |
path |
A path to store the files, Default: |
overwrite |
(logical) To overwrite the path to store files in or not, Default: TRUE. |
## Not run: # hydro cast data (res <- calcofi('hydro_cast')) # hydro bottle data (res <- calcofi('hydro_bottle')) library('dplyr') res$data %>% tbl_df %>% select(-cruz_sta) %>% group_by(year) %>% summarise(avg_wind_spd = mean(wind_spd, na.rm = TRUE)) %>% arrange(desc(avg_wind_spd)) %>% head ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.