Add a comment to a changeset and subscribe to the discussion. The changeset must be closed. Requires authentication.
Value
Returns a data frame with the changeset (same format as osm_get_changesets()
with format = "R"
).
See also
Other changeset discussion's functions:
osm_hide_comment_changeset_discussion()
,
osm_subscribe_changeset_discussion()
Examples
if (FALSE) { # \dontrun{
set_osmapi_connection("testing") # use the testing server
changeset <- osm_get_changesets(300626)
updated_changeset <- osm_comment_changeset_discussion(
changeset_id = changeset$id,
comment = "A new comment to test osmapiR"
)
updated_changeset
} # }