Usage Arguments Details Value Examples
1 2 | get_stackoverflow_chart(user = NULL, addAccepted = TRUE, showPlot = TRUE,
max.pages = 10)
|
user |
StackOverflow user id |
addAccepted |
logical. Should the number of accepeted answers be overlayed? |
showPlot |
logical. Should the plot be displayed? Otherwise
|
max.pages |
how many pages of results (100 per page) should be traversed? |
As per the API
https://api.stackexchange.com/docs/answers-on-users, returns a
data.frame
of columns described in
https://api.stackexchange.com/docs/types/answer for the requested user
.
This function utilises both theme_github
and
scale_fill_social
and is subject to updates to
those functions.
a list containing the ggplot object and data object:
list(plot = <ggplot2 object>, data = <data.frame>)
1 2 3 4 5 | ## Not run:
library(butteRfly)
get_stackoverflow_chart(user = 4168169) # @Jonathan Carroll
get_stackoverflow_chart(user = 496803) # @thelatemail
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.