| gsodDf2Sp | R Documentation | 
This function converts the list of available GSOD stations from data.frame
to SpatialPointsDataFrame.
gsodDf2Sp(data, ...)
data | 
 
  | 
... | 
 Additional arguments. Currently not in use.  | 
An object of class SpatialPointsDataFrame.
Florian Detsch
# Convert station list to spatial object
gsod_shp <- gsodDf2Sp(data = gsodstations)
if (interactive()) {
  plot(gsod_shp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.