powered by
Add a new comment to an existing note. Requires authentication.
osm_create_comment_note(note_id, text)
Returns a data frame with the map note and the new comment (same format as osm_get_notes() with format = "R").
osm_get_notes()
format = "R"
Note id represented by a numeric or a character value.
The comment as arbitrary text.
Other edit notes' functions: osm_close_note(), osm_create_note(), osm_delete_note()
osm_close_note()
osm_create_note()
osm_delete_note()
if (FALSE) { set_osmapi_connection("testing") # use the testing server note <- osm_get_notes(53726) updated_note <- osm_create_comment_note(note$id, text = "A new comment to the note") updated_note }
Run the code above in your browser using DataLab