There is an intentional 3-month max date range for this tool, given it can
make hundreds of API queries. I'm not sure if this restriction actually
helps with performance, maybe others could shed light on this? E.g. We're
making the same number of queries either way, so does it matter how wide
the range is?

To get the most recent data, omit the start and end parameters from the URL
and instead use "range=latest-N" where N is the number of days. E.g. This
shows the latest 90 days of data:
https://tools.wmflabs.org/langviews/?project=en.wikipedia.org&platform=all-access&agent=user&range=latest-90&page=Heterosis&sort=views&direction=1&view=list

See the URL documentation for more info:
https://tools.wmflabs.org/langviews/url_structure/

On Sep 5, 2016 4:11 PM, "Daniel Mietchen" <[email protected]>
wrote:

> Hi,
> I am trying to get
> https://tools.wmflabs.org/langviews/?project=en.
> wikipedia.org&platform=all-access&agent=user&start=2015-
> 09-05&end=2016-09-04&page=Heterosis&sort=views&direction=1&view=list
> to work but it always ends up just showing me
> https://tools.wmflabs.org/langviews/?project=en.
> wikipedia.org&platform=all-access&agent=user&start=2015-
> 09-05&end=2015-12-04&page=Heterosis&sort=views&direction=1&view=list
> , i.e. a shortened time range.
>
> How can I get it to work such that more recent stats become available?
>
> I would also like to use it with a date string that points somewhere
> into the future (e.g.
> https://tools.wmflabs.org/langviews/?project=en.
> wikipedia.org&platform=all-access&agent=user&start=2015-
> 09-05&end=2016-09-04&page=Heterosis&sort=views&direction=1&view=list
> ), so that I can follow the developments more easily with one and the
> same link all the time.
>
> Thanks for any pointers,
>
> Daniel
>
> _______________________________________________
> Analytics mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/analytics
>
_______________________________________________
Analytics mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/analytics

Reply via email to