Description Details Fields Methods Author(s) See Also Examples
Provides a model representing a top tag from a StackExchange site
The seTopTag
class is a subclass of the seTag
class, and represents a frequently
used tag for a specific user.
The seTopTag
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 seTopTagFactory
. 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
questionScore
:Cumulative score for this tag for the user
questionCount
:Number of questions this user has posed with this tag
answerScore
:Cumulative score for this tag for this user
answerCount
:Number of answers this user has posted with this 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)
: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
topAnswerers(period)
: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
seTag
, getTags
, getTagSynonyms
, setRefClass
1 2 | zz <- searchUsers(num=2, filter='geoff')
zz[[1]]$topTagsByQuestions()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.