searchStackSite: Functions to search a StackExchange site

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

These functions will allow you to search a StackExchange site for data matching a particular query

Usage

1
2
3
searchStackSite(num = NULL, intitle = NULL, notTagged = NULL,
                tagged = NULL, min = NULL, max = NULL, order = NULL,
                sort = NULL, site = "stackoverflow.com") 

Arguments

num

An upper bound on the number of results to return

intitle

A string that must appear verbatim in the title of the question

tagged

An optional vector of tags, of which at least one must be on the question

notTagged

An optional vector of gatgs that must not be on a question

min

When present, minimum value for the current sort

max

When present, maximum value for the current sort

sort

When present, how results are to be sorted, one of activity (default), creation or votes

order

When present, how results should be ordered, one of desc (default) or asc

site

Which StackExchange site to poll

Details

As per the StackExchange documentation, this functionality is intended to be "quite limited". This function is merely provided because the API call exists.

Value

A list of seQuestion objects

Author(s)

Jeff Gentry

References

http://api.stackoverflow.com/1.1/usage/methods/search

See Also

seQuestion

Examples

1
    zz <- searchStackSite(num=5, tagged='r', sort='votes')

geoffjentry/RStackExchange documentation built on May 17, 2019, 1:11 a.m.