t2SpatialPointDataFrame: Extract geotagged tweets stored as a data.frame
Description
A function to create a SpatialPointsDataFrame with only the tweets with lat lon columns filled. Not all the tweets are geotagged. Tweets should be subset from the original data.frame to get only tweets with coordinates.
# NOT RUN {# }# NOT RUN {#tweets data.frame tweets="tweets"#function to extract only geotagged tweets a SpatialPointsDataFrame geotweets<-t2SpatialPointDataFrame(tweets)
# }