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.
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
Examples
if (FALSE) {
get_buoy_data(buoyid="bzbm3",year = 2000:2010,outDir= here::here("output"))
}