I would like to use the Stack Exchange API with a specific user id to get the text of a user's badges.
I found the stackr library for the Stack Exchange API, and tried this:
# install.packages("devtools")
library(devtools)
devtools::install_github("dgrtwo/stackr")
library(stackr)
stack_users(712603)
But that only gives the total number of every kind of badge. How can I take the text from each one? Example:
gold silver bronze
r r ggplot2
I don't only want the total number of badges but also what the badges are.