Description Details Fields Methods Author(s) See Also Examples
This class models the user objects in the StackExchange family of websites
The seUser 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 seUserFactory. Accessor set &
get methods are provided for every field using reference class
$accessors() methodology (see setRefClass). As
an example, the displayName field could be accessed with
object$getDisplayName() and object$setDisplayName().
userID:Internal ID of this user
userType:Type of user, e.g. registered
creationDate:POSIXct date of when this user was created
displayName:Short handle for this user
reputation:Total reputation score for this user
lastAccessDate:POSIXct date for last access of this user account
aboutMe:Personal description of this user
questionCount:Number of questions this user has asked
answerCount:Number of answers this user has given
viewCount:Number of times this user profile has been viewed
upVoteCount:Number of up votes this user has cast
downVoteCount:Number of down votes this user has cast
acceptRate:Rate at which this user accepts answers
goldBadges:Number of gold ranked badges earned
silverBadges:Number of silver ranked badges earned
bronzeBadges:Number of bronze ranked badges earned
site:StackExchange site this answer belongs to
topAnswersByTags(tags):Retrieves a list of
seAnswer objects representing the top answers this user has
given for a given set of tags
topQuestionsByTags(tags):Retrieves a list of
seQuestion objects representing the top questions this user
has posted for a given set of tags
topTagsByAnswer:Gets the top 30 tags (by score) this user has posted answers in
topTagsByQuestion:Gets the top 30 tags (by score) this user has asked a question in
Jeff Gentry
getUsers, searchUsers, setRefClass
1 2 | zz <- searchUsers(num=5, filter='foo')
zz[[2]]$topTagsByAnswers()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.