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

Description Usage Arguments Author(s) See Also Examples

View source: R/t2gis.R

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<c3><b3> Galindo [email protected]

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 29, 2017, 9:10 a.m.