Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata API should tell if the data set is fixed size, or not #2336

Closed
mattab opened this issue Apr 19, 2011 · 2 comments
Closed

Metadata API should tell if the data set is fixed size, or not #2336

mattab opened this issue Apr 19, 2011 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Apr 19, 2011

Example:

  • Visit per hour, Visit duration, Pages per visit are tables of fixed sizes
  • countries, browsers, and many others are open reports that can be between 0 and N rows

It would be useful to have such information in each metadata output, so that metadata users could decide better how to display the reports, in particular #1721

@mattab
Copy link
Member Author

mattab commented Apr 19, 2011

Added in [http://piwik.org/docs/analytics-api/metadata/ Analytics Metadata API] documentation: 'constantRowsCount' - if set to 1, it means the report always has the same number of rows. For example, "Visit per hour" always has 24 hours, "Visits per number of pages" has 10 rows. This attribute is set only when there is a 'dimension' attribute. If this attribute is not set, it means that the returned data set could have 0 row, 1 row, or N rows.

@mattab
Copy link
Member Author

mattab commented Apr 19, 2011

(In [4510]) Fixes #2336
'constantRowsCount' - if set to 1, it means the report always has the same number of rows. For example, "Visit per hour" always has 24 hours, "Visits per number of pages" has 10 rows. This attribute is set only when there is a 'dimension' attribute. If this attribute is not set, it means that the returned data set could have 0 row, 1 row, or N rows.

@mattab mattab added this to the 1.4 - Piwik 1.4 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

1 participant