get_buoy_data: Gets bouy data from ndbc

View source: R/get_buoy_data.R

get_buoy_dataR Documentation

Gets bouy data from ndbc

Description

Grabs zipped annual files, unzips and saves as csv files This function will create a folder on your machine and write csv files to it.

Usage

get_buoy_data(buoyid, year, outDir)

Arguments

buoyid

Character vector. Vector of buoy id names

year

Numeric vector. Years of data to pull

outDir

Character string. Full path to where output should be written

Value

csv files written

Examples

## Not run: 
get_buoy_data(buoyid="bzbm3",year = 2000:2010,outDir= here::here("output"))


## End(Not run)


andybeet/ndbcbuoy documentation built on Dec. 28, 2024, 10:51 a.m.