Description Usage Arguments See Also Examples
retrieves the pageview data for a particular article on a project, within a provided time-range.
| 1 2 3 4 5 6 7 8 9 10 11 | 
| project | the name of the project, structured as  | 
| article | the article(s) you want to retrieve data for. Ideally features underscores in the title instead of spaces, but happily converts if you forget to do this. | 
| platform | The platform the pageviews came from; One or more of "all", "desktop", "mobile-web" and "mobile-app". Set to "all" by default. | 
| user_type | the type of users. One or more of "all", "user", "spider" or "automated". "all" by default. | 
| start | the start  | 
| end | the end  | 
| reformat | Whether to reformat the results as a  | 
| granularity | the granularity of data to return; "daily" or "monthly", depending on whether pageview data should reflect trends in days or months. | 
| ... | further arguments to pass to httr's GET. | 
top_articles for the top articles per project in a given date range,
and project_pageviews for per-project pageviews.
| 1 2 3 4 5 | # Basic example
r_pageviews <- article_pageviews()
# Modify the article
obama_pageviews <- article_pageviews(article = "Barack_Obama")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.