I'm trying to use the Stack Exchange API to collect all questions under a specific tag using this code:
library(stackr)
df_r_questions <- stack_tags("python","questions", num_pages=1000000, pagesize=100)
However I receive this error:
Error in match.arg(special, c(special_ids, special_no_ids)) :
'arg' should be one of “faq”, “related”, “synonyms”, “wikis”, “info”, “moderator-only”, “required”
Any update I should make?
I think
stack_tagsreturns information about the tags themselves, not questions with a particular tag. Perhaps you are looking forstack_questions?Created on 2022-12-23 with reprex v2.0.2