Description Usage Arguments Value Examples
Produce a SpatialPointsDataFrame if data has a column of type 'gps' or 'geopoint'. Otherwise, return NA.
1 | as.SpatialPointsDataFrame(formhubObj)
|
the |
formhub object which will be possibly co-erced to a SpatialPointsDataFrame object. |
A SpatialPointsDataFrame representation of this formhub Object
1 2 3 | good_eats_data <- as.data.frame(formhubDownload("good_eats", "mberg"))
ge_spdf <- as.SpatialPointsDataFrame(good_eats_data)
class(ge_spdf) # "SpatialPointsDataFrame"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.