t2gis: Export Tweeter with geotag in Sqlite table to KML, shapefiles...

Description Usage Arguments Author(s) See Also Examples

Description

This functions import geotagged tweets as SpatialPointDataFrame from a Sqlite database containing the tweets and export it in a GIS format

Usage

1
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.

Author(s)

Pau Aragó Galindo parago@uji.es

See Also

RSQLite, t2sqlite

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

tweet2r documentation built on May 2, 2019, 2:34 a.m.