Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

How to get around a limit in an R function?

$
0
0

I am doing data analysis on the Acadie portal in fr.wikipedia.org.

I am using WikipediR::pages_in_category to make a list of the pages in the portal:

library(WikipediR)
portal_acadie <- pages_in_category(language = "fr", 
                                    project = "wikipedia", 
                                    categories = "Portail:Acadie/Articles liés", 
                                    limit = 500, 
                                    clean_response = TRUE)

There is a limited output of 500 to the function, but I know the portal has 1900+ pages. How can I extract the remaining 1400+?

I tried changing the limit argument to limit = 2000, but I had a warning message indicating

'"cmlimit" may not be over 500 (set to 2000) for users.'

It only showed the first 500 pages.


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>