简体   繁体   English

Analytics数据模式(在github上):维度和度量

[英]Analytics data schema (at github) : dimension & measure

I was following along an article on analytics at github , and like to know more about the data schema (for analytics). 我一直关注github上有关分析的文章,并且想了解有关数据模式(用于分析)的更多信息。 It mentions We split out payload into dimensions (flat map of string keys and values) and measures (flat map of string keys and integer values) , and gave a snippet. 它提到We split out payload into dimensions (flat map of string keys and values) and measures (flat map of string keys and integer values) ,并给出了一个代码段。 Is there any formal term for this structure to search for? 要搜索此结构有任何正式用语吗? How dimension and measure related? 尺寸和度量如何关联? How they use together to aggregate data? 它们如何一起使用以汇总数据?

bsr , I would suggest using the dimension / metric reference tool provided by Google that shows the relationships between various dimensions and metrics. bsr ,我建议使用Google提供的维度/指标参考工具来显示各种维度和指标之间的关系。

Also, Avinash Kaushik wrote a very interesting article on using proper combinations of various dimensions/metrics of different scope (in GA there is 3 of them: hit, session, user). 另外, Avinash Kaushik写了一篇非常有趣的文章,介绍了如何使用不同范围的各种维度/指标的正确组合(在GA中,其中有3种:匹配,会话,用户)。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM