osm_comment_changeset_discussion {osmapiR} | R Documentation |
Comment a changeset
Description
Add a comment to a changeset and subscribe to the discussion. The changeset must be closed. Requires authentication.
Usage
osm_comment_changeset_discussion(changeset_id, comment)
Arguments
changeset_id |
The id of the changeset to comment represented by a numeric or a character value. |
comment |
The text of the comment to post. |
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
## Not run:
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
## End(Not run)
[Package osmapiR version 0.1.0 Index]