extractCoordinates: Extract Coordinates

Description Usage Arguments Value Examples

Description

Exports Point and Polygon coordinates from the geo fields of the tweet The function currently supports coordinates of the type point and bounding box. The coordinates can be shown on a map using drawMap

Usage

1
extractCoordinates(connection, searchterm, limit = 15000)

Arguments

connection

The name of a MongoDB connection

searchterm

A term all tweets returned contain

limit

Maximum number of tweets to retrive from db

Value

dataframe with coordinates (lat,long)

Examples

1
#extractCoordinates(connection = "filterstream", searchterm = c("Trump"))

ProjectTw/TwitteR2Mongo documentation built on May 8, 2019, 3:44 a.m.