FIXME: need to support other data sets in CALCOFI

calcofi(dataset = "hydro_cast", path = "~/.ots/calcofi", overwrite = TRUE)

Arguments

dataset

A dataset code name, one of hydro, macrozoo, or X

path

A path to store the files, Default: ~/.ots/kelp

overwrite

(logical) To overwrite the path to store files in or not, Default: TRUE.

Examples

if (FALSE) { # 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 }