Learn R Programming

rnoaa (version 0.6.0)

seaice: Get sea ice data.

Description

Get sea ice data.

Usage

seaice(url, ...)

Arguments

url
A url for a NOAA sea ice ftp file
...
Further arguments passed on to readshpfile function, see readshpfile

Value

A data.frame

Details

If you want to reproject the shape files, use readshpfile to read in shape file, then reproject, and so on.

Examples

Run this code
## Not run: 
# # Look at data.frame's for a series of years for Feb, South pole
# urls <- sapply(seq(1979,1990,1), function(x) seaiceeurls(yr=x, mo='Feb', pole='S'))
# out <- lapply(urls, seaice)
# lapply(out, head)
# 
# # Map a single year/month/pole combo
# urls <- seaiceeurls(mo='Apr', pole='N', yr=1990)
# out <- seaice(urls)
# library('ggplot2')
# ggplot(out, aes(long, lat, group=group)) +
#    geom_polygon(fill="steelblue") +
#    theme_ice()
# ## End(Not run)

Run the code above in your browser using DataLab