+Analytics list so they can comment.

I don't have such a script.  It's a pretty intensive job to compile top articles especially over a month.  The pageview API was supposed to have top articles per month per wiki but the job is so massive that it failed to run in Hive.  Analytics knows there are better algorithms out there to solve this problem.  So the pageview API just has top per day per wiki.

I imagine that you are looking at some very specific wikis and countries... not all of them.  Maybe someone on the list can make an example hive script (given a wiki and country) that gives the top for a day.


On Wed, Jan 20, 2016 at 12:23 PM, Dan Foy <dfoy@wikimedia.org> wrote:
Hi Kevin,

In your collection of scripts for Hive, do you have one that can act as a starting point for me to get the top N articles / URLs for Wikipedia in a country?

Thanks,
Dan