Description Usage Arguments Details Value
Access the Stack Exchange search functionality.
1 2 |
intitle |
string to use for searching title |
tagged |
vector of tags that must be included in questions |
nottagged |
vector of tags to be excluded from questions |
q |
free form text parameter that matches questions based on Stack Exchange's (undocumented) algorithm |
accepted |
boolean to filter for accepted or unaccepted questions |
answers |
minimum number of answers |
body |
text that must appear in the body of questions |
closed |
boolean to filter for open or closed questions |
migrated |
boolean to filter for questions that were, or were not, migrated to another site |
notice |
boolean to filter for questions with a post notice |
title |
text which must appear in a title; redundant with intitle above |
user |
the id of the user to filter for |
url |
url that must be included in the question |
views |
the minimum number of views a question can have |
wiki |
boolean to filter for questions that are (or are not) community wiki |
... |
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 questions.
A question object is documented in full here:
https://api.stackexchange.com/docs/types/question
It comes with the following columns:
accepted_answer_id
answer_count
bounty_amount
bounty_closes_date
closed_date
closed_reason
community_owned_date
creation_date
is_answered
last_activity_date
last_edit_date
link
locked_date
migrated_from
migrated_to
owner
protected_date
question_id
score
tags
title
view_count
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.