Description Details Fields Methods Author(s) See Also Examples
Provides a model representing a tag from a StackExchange site
The seTag class is implemented as a reference class. An
instance of a generator for this class is provided as a convenience to
the user as it is configured to handle most standard cases. To access
this generator, use the object seTagFactory. Accessor set &
get methods are provided for every field using reference class
$accessors() methodology (see setRefClass). As
an example, the count field could be accessed with
object$getCount() and object$setCount().
As noted in the Methods section, both methods take a
period argument which must be one of either all-time or
month.
name:Name of the tag
count:Number of times this tag has been used
fulfillsRequired:Logical, indicates if tag is required to be on a post
site:Object of class character ~~
topAskers(period, num=NULL):Retrieves the
seUser objects for the
people who have asked the most questions with this tag for a given
period, either all-time or month. If num
is specified, will return at most num results.
topAnswerers(period, num=NULL):Retrieves the seUser
objects for the people who have answered the most questions with this
tag for a given period, either all-time or month
Jeff Gentry
getTags, getTagSynonyms, setRefClass
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.