View source: R/osmapi_gps_traces.R
| osm_list_gpxs | R Documentation | 
Use this to get a list of GPX traces owned by the authenticated user. Requires authentication.
osm_list_gpxs(format = c("R", "sf", "xml"))
format | 
 Format of the output. Can be   | 
Results with the same format as osm_get_gpx_metadata(). If format = "R", returns a data frame with one trace
per row. If format = "sf", returns a sf object from sf. If format = "xml", returns a
xml2::xml_document. Example:
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="OpenStreetMap server">
  <gpx_file id="836619" name="track.gpx" lat="52.0194" lon="8.51807" uid="1234" user="Hartmut Holzgraefe" visibility="public" pending="false" timestamp="2010-10-09T09:24:19Z">
    <description>PHP upload test</description>
    <tag>test</tag>
    <tag>php</tag>
  </gpx_file>
  <gpx_file id="836620" name="track.gpx" lat="52.1194" lon="8.61807" uid="1234" user="Hartmut Holzgraefe" visibility="public" pending="false" timestamp="2010-10-09T09:27:31Z">
    <description>PHP upload test 2</description>
    <tag>test</tag>
    <tag>php</tag>
  </gpx_file>
</osm>
Other get GPS' functions: 
osm_get_data_gpx(),
osm_get_gpx_metadata(),
osm_get_points_gps()
## Not run: 
traces <- osm_list_gpxs()
traces
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.