## Not run: ------------------------------------
# # Get available buoys
# buoys(dataset = 'cwind')
#
# # Get data for a buoy
# ## if no year or datatype specified, we get the first file
# buoy(dataset = 'cwind', buoyid = 46085)
#
# # Including specific year
# buoy(dataset = 'cwind', buoyid = 41001, year = 1999)
#
# # Including specific year and datatype
# buoy(dataset = 'cwind', buoyid = 41001, year = 2008, datatype = "cc")
# buoy(dataset = 'cwind', buoyid = 41001, year = 2008, datatype = "cc")
#
# # Other datasets
# buoy(dataset = 'ocean', buoyid = 42856)
#
# # curl debugging
# library('httr')
# buoy(dataset = 'cwind', buoyid = 46085, config=verbose())
## ---------------------------------------------
Run the code above in your browser using DataLab