
Last chance! 50% off unlimited learning
Sale ends in
This functions import geotagged tweets as SpatialPointDataFrame from a Sqlite database containing the tweets and export it in a GIS format
t2gis(dbname, export)
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 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.
RSQLite
,
t2sqlite
# NOT RUN {
# }
# 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)
# }
Run the code above in your browser using DataLab