stack_badges: Query badges from the Stack Exchange API

Description Usage Arguments Details Value

Description

Query for badges from a particular site

Usage

1
stack_badges(id = NULL, special = NULL, ...)

Arguments

id

A vector containing one or more IDs of badges, or none to retrieve all badges in alphabetical order

special

One of c("name", "tags", "recipients"), to retrive only non-tag badges, only tag badges, or to retrieve recipients of the given badges

...

Additional arguments to API (see below)

Details

API querying methods allow the following additional options:

site

ID of Stack Exchange site (by default, Stack Overflow)

sort

field to sort by

order

whether the sort field should be arranged in descending ("desc") or ascending ("asc") order

min

Minimum value of the sort field

max

Maximum value of the sort field

fromdate

Starting date

todate

Ending date

page

Which page to start from

pagesize

Size of each page to extract (max 100)

num_pages

Number of pages to extract

Value

A data.frame of badges (TODO)


Qalfredo/stackmath documentation built on May 8, 2019, 3:48 a.m.