Description Usage Arguments Details Value
Query for a list of answers, or information related to a one or more specific answers.
1 | stack_answers(id = NULL, special = NULL, ...)
|
id |
A vector containing one or more answer IDs, or none to query all answers |
special |
If |
... |
Additional arguments to API (see below) |
API querying methods allow the following additional options:
ID of Stack Exchange site (by default, Stack Overflow)
field to sort by
whether the sort
field should be arranged in descending
("desc") or ascending ("asc") order
Minimum value of the sort
field
Maximum value of the sort
field
Starting date
Ending date
Which page to start from
Size of each page to extract (max 100)
Number of pages to extract
A data.frame
of answers.
An answer object is documented in full here:
https://api.stackexchange.com/docs/types/answer
It comes with the following columns:
answer_id
community_owned_date
creation_date
is_accepted
last_activity_date
last_edit_date
locked_date
owner
protected_date
question_id
score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.