View source: R/osmapi_changeset_discussion.R
| osm_hide_comment_changeset_discussion | R Documentation |
This request needs to be done as an authenticated user with moderator role.
osm_hide_comment_changeset_discussion(comment_id)
osm_unhide_comment_changeset_discussion(comment_id)
comment_id |
Note that the changeset comment id differs from the changeset id. |
Returns a data frame with the changeset (same format as osm_get_changesets() with format = "R").
osm_hide_comment_changeset_discussion(): Sets visible flag on changeset comment to false.
osm_unhide_comment_changeset_discussion(): Sets visible flag on changeset comment to true.
Other changeset discussion's functions:
osm_comment_changeset_discussion(),
osm_subscribe_changeset_discussion()
Other functions for moderators:
osm_create_user_block(),
osm_delete_note(),
osm_redaction_object()
## Not run:
chdis <- osm_get_changesets("265646", include_discussion = TRUE)
hide_com <- osm_hide_comment_changeset_discussion(comment_id = chdis$discussion[[1]]$id[1])
unhide_com <- osm_unhide_comment_changeset_discussion(comment_id = chdis$discussion[[1]]$id[1])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.