location_history: Get location history

Description Usage Arguments Value Examples

Description

After login, get location history for a specified date

Usage

1
location_history(session, date, asKML = FALSE)

Arguments

session

An rvest session returned from the login() function

date

A date string in YYYY-MM-DD format

asKML

TRUE if desired output is KML, FALSE if desired output is a dataframe of data parsed from the KML

Value

A dataframe of location data or raw KML text

Examples

1
2
3
4
5
6
## Not run: 
sess <- login(username="[email protected]", password="my_google_password")
df <- location_history(session=sess, date="2016-04-04")

## End(Not run)
location_history

corynissen/GoogleLocationHistory documentation built on May 13, 2019, 10:52 p.m.