osm_download_changeset {osmapiR} | R Documentation |
Download a changeset in OsmChange
format
Description
Returns the OsmChange document describing all changes associated with the changeset.
Usage
osm_download_changeset(changeset_id, format = c("R", "osc", "xml"))
Arguments
changeset_id |
The id of the changeset represented by a numeric or a character value for which the OsmChange is requested. |
format |
Format of the output. Can be |
Details
The result of calling this may change as long as the changeset is open.
The elements in the OsmChange are sorted by timestamp and version number.
There is
osm_get_changesets()
to get only information about the changeset itself.
Value
If format = "R"
, returns a data frame with one row for each edit action in the changeset. If format = "osc"
,
returns a xml2::xml_document in the OsmChange format.
See Also
Other get changesets' functions:
osm_get_changesets()
,
osm_query_changesets()
Other OsmChange's functions:
osm_diff_upload_changeset()
,
osmchange_create()
,
osmchange_delete()
,
osmchange_modify()
Examples
## Not run:
chaset <- osm_download_changeset(changeset_id = 137003062)
chaset
## End(Not run)