dg_search: Search

Description Usage Arguments Examples

Description

Search

Usage

1
2
3
4
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, ...)

Arguments

query

(character) Query terms. Required.

order

(character) One of views, latest, likes

status

(character) One of open, closed, archived, noreplies, or single_user

category

(character) Category to search for

username

(character) User name

group

(character) Groupo name

badge

(character) Badge name

in_

(character) One of likes, posted, watching, tracking, private, bookmarks, first

posts_count

(integer) Number of posts per topic

min_age

(integer) Minimum age

max_age

(integer) Maximum age

url

Base url for a Discourse installation. See disc_setup

key

Your api key on the Discourse installation. See disc_setup

user

Your user name on the Discourse installation. See disc_setup

...

Named parameters passed on to HttpClient

Examples

1
2
3
4
5
6
7
## Not run: 
dg_search(query = "poo")
dg_search(posts_count = 1)
dg_search(in_ = "posted")
dg_search(status = "open")

## End(Not run)

discgolf documentation built on May 1, 2019, 11:30 p.m.