powered by
Search
dg_search(query = NULL, order = NULL, status = NULL, category = NULL, username = NULL, group = NULL, badge = NULL, in_ = NULL, posts_count = NULL, min_age = NULL, max_age = NULL, url = NULL, key = NULL, user = NULL, ...)
(character) Query terms. Required.
(character) One of views, latest, likes
(character) One of open, closed, archived, noreplies, or single_user
(character) Category to search for
(character) User name
(character) Groupo name
(character) Badge name
(character) One of likes, posted, watching, tracking, private, bookmarks, first
(integer) Number of posts per topic
(integer) Minimum age
(integer) Maximum age
Base url for a Discourse installation. See disc_setup
disc_setup
Your api key on the Discourse installation. See disc_setup
Your user name on the Discourse installation. See disc_setup
Named parameters passed on to HttpClient
HttpClient
# NOT RUN { dg_search(query = "poo") dg_search(posts_count = 1) dg_search(in_ = "posted") dg_search(status = "open") # }
Run the code above in your browser using DataLab