The tidykml
package reads selected elements and values from KML files,
such as those produced by Google My Maps, and turns them into tidy data
frames, intended for use with packages like dplyr and
ggplot2.
See the README file of the package for further details and a few examples: https://github.com/briatte/tidykml
Google Developers. KML Reference. https://developers.google.com/kml/documentation/kmlreference
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.