View source: R/osmapi_changeset_discussion.R
| osm_search_comment_changeset_discussion | R Documentation |
Returns changeset comments that match the specified query. If no query is provided, the most recent changeset comments are returned.
osm_search_comment_changeset_discussion(
user,
from,
to,
format = c("R", "xml", "json"),
tags_in_columns = FALSE
)
user |
Search for changeset comments created by the user with the given user id (numeric) or display name (character). |
from |
Beginning date range. See details for the valid formats. |
to |
End date range. Only works when |
format |
Format of the output. Can be |
tags_in_columns |
If |
The valid formats for from and to parameters are POSIXt values or characters preferably in
ISO 8601 format.
If format = "R", returns a data frame with one comment per If format = "xml", returns a
xml2::xml_document. If format = "json", returns a list with the json structure.
Other changeset discussion's functions:
osm_comment_changeset_discussion(),
osm_hide_comment_changeset_discussion(),
osm_subscribe_changeset_discussion()
# See the latest changeset comments globally:
osm_search_comment_changeset_discussion()
# Search for changeset comments by a specific user:
osm_search_comment_changeset_discussion(user = "Steve", format = "json")
# Search for changeset comments between January 1st and January 2nd, 2015:
osm_search_comment_changeset_discussion(from = "2015-01-01", to = "2015-01-02", format = "xml")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.