get_google_location_data: Import Google Location Location history

Description Usage Arguments Value See Also Examples

Description

Import a Google Location History JSON file into R.

Usage

1

Arguments

file

a ".json" file, containing a Google location history.

Value

a data.frame, with variables:

See Also

https://takeout.google.com/settings/takeout/custom/location_history (to export your location history into JSON); locations for a data set containing four-week location histories of two people.

Examples

1
2
3
4
example_json <- system.file("extdata", "google_timeline_sample.json",
                           package = "emaph")
d <- get_google_location_data(example_json)
head(d)

jruwaard/emaph documentation built on May 3, 2019, 8:04 p.m.