R: Export Tweeter with geotagg in Sqlite table to KML,...
t2gis
R Documentation
Export Tweeter with geotagg in Sqlite table to KML, shapefiles or GML
Description
This functions import geotagged tweets as SpatialPointDataFrame from a Sqlite database containing the tweets and export it in a GIS format
Usage
t2gis(dbname, export)
Arguments
dbname
It is the Sqlite Database name where the tweets are stored. Sqlite is embedded in R within the package RSQLite. Sqlite database have no field extension. More information about Sqlite it its web page.
export
Export the tweets stored in the sqlite database to shape file, GML or KML. It imports only the geotagged tweets. The options are; shp (by default option), kml, gml. Note that only will be exported if there are geotweets.
## Not run:
#File prefix name for json files and also the name of the database
dbname=tweets
#export option to a GIS format
export="shp"
t2sqlite(dbname, export)
## End(Not run)