get_buoy_data: Gets bouy data from ndbc

Description Usage Arguments Value Examples

View source: R/get_buoy_data.R

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

1
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

1
2
3
4
5
## Not run: 
get_buoy_data(buoyid="bzbm3",year = 2000:2010,outDir= here::here("output"))


## End(Not run)

NOAA-EDAB/buoydata documentation built on Feb. 4, 2021, 7:21 a.m.