Skip to contents

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

if (FALSE) {
get_buoy_data(buoyid="bzbm3",year = 2000:2010,outDir= here::here("output"))

}