runQueries: run foursquare api queries

Description Usage Arguments Details

View source: R/runXMLQueries.r

Description

run foursquare api queries

Usage

1
2
3
4
  runQueries(inData, idFile = "clientid.txt",
    secretFile = "clientsecret.txt",
    outFile = "timmysLocs.txt", waitTime = 60 * 60,
    maxEntryTime = 5000, checkTime = 100)

Arguments

queryIndex

which entries of data to process

idFile

the file that has your foursquare api key

secretFile

file with the foursquare clientsecret

inData

the data to process

outFile

where to save the results of the search

waitTime

how long to wait before processing the next set of data

maxEntryTime

how many entries can be processed within "waitTime"

maxQueryAll

how many total queries you want to perform

Details

expects inData to be a data frame with lat, long, and block numeric columns. lat and long are used as the locations to query foursquare, block controls


rmflight/timmysDensity documentation built on May 25, 2017, 5:12 a.m.