Description Usage Arguments Value See Also Examples
Import a Google Location History JSON file into R.
1 |
file |
a ".json" file, containing a Google location history. |
a data.frame
, with variables:
idParticipant identifier
timestampDatetime of measurement (POSICxt)
latGPS Latitude
lonGPS Longitude
accuracyAccuracy of location (in meters)
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.
1 2 3 4 | example_json <- system.file("extdata", "google_timeline_sample.json",
package = "emaph")
d <- get_google_location_data(example_json)
head(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.