osm_download_changeset: 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"))
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.
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 "R" (default) or "osc" ("xml" is a synonym for "osc").
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.
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()