We are all used Google location for whenever we travel into the new areas or find exactly where we are. So we simply turn on the location in our mobile. As soon as we turn on the location google will track our location with exact Latitude and Longitude. Infact google will track our lat and lon for every 3-5 seconds. Considering this amount of data for every one across the world, it's pretty big.
{
"locations"
: [
"timestampMs"
:
"1552134887205"
,
"latitudeE7"
: 130278368,
"longitudeE7"
: 802217804,
"accuracy"
: 105,
"activity"
"1552134952396"
"type"
"STILL"
"confidence"
: 100
}
]
},
"1552135133012"
"1552135313217"
"1552135494149"
Right Click the List -> To Table Option
Transform menu -> Expand Option
Home -> Advanced Editor
#"Transformed the latlon" = Table.TransformColumns(#"Expanded Column1", List.Transform({"latitudeE7","longitudeE7"}, each {_, (inner) => inner/10000000, type number}))
let
Source = Json.Document(File.Contents("C:\Jay\Location History.json")),
locations = Source[locations],
#"Converted to Table" = Table.FromList(locations, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"timestampMs", "latitudeE7", "longitudeE7"}, {"timestampMs", "latitudeE7", "longitudeE7"}),
in
#"Transformed the latlon"
Right Click the column timeStampMS-> Change Type - > Whole Number
#"Transformed into DateTime" = Table.TransformColumns(#"Changed Type", {{"timestampMs", each #datetime(1970,1,1,0,0,0)+#duration(0,0,0,_/1000), type number}})
#"Transformed the latlon" = Table.TransformColumns(#"Expanded Column1", List.Transform({"latitudeE7","longitudeE7"}, each {_, (inner) => inner/10000000, type number})),
#"Changed Type" = Table.TransformColumnTypes(#"Transformed the latlon",{{"timestampMs", Int64.Type}}),
#"Transformed into DateTime"
Right Click timeStampMs -> Change Type -> Date
Right Click the timeStampMS ->Rename -> Change it into Date
Right Click the latitudeE7 -> Rename -> Change it into latitude
Right Click the longitudeE7 -> Rename -> Change it into longitude
Click the Home -> Close & Apply
File - > Save -> Name the file as : My Location Report
Home -> Publish -> Select the workspace you want to publish