Skip to contents

Add a new comment to an existing note. Requires authentication.

Usage

osm_create_comment_note(note_id, text)

Arguments

note_id

Note id represented by a numeric or a character value.

text

The comment as arbitrary text.

Value

Returns a data frame with the map note and the new comment (same format as osm_get_notes() with format = "R").

See also

Other edit notes' functions: osm_close_note(), osm_create_note(), osm_delete_note()

Examples

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
}