Data Set that can be used for statistics

戏子无情 提交于 2019-12-11 18:05:18

问题


I need some raw data to visualize it with google charts and some other APIs. Problem is that i some raw data that includes timestamps too. For example visitors visiting a website i.e. from which device (mobile/computer etc) they accessed website, at what time (hours:minutes:second:miliseconds) and what which links they visited etc. Please help me to know if someone knows about such kind of dummy raw data on web.


回答1:


You can build your own dataset using Google Spreadsheets. For example, consider the spreadsheet from the link below:

https://docs.google.com/spreadsheet/pub?key=0Aj9J3uCNjN9_dG1rdmNtTlhyNWpkTUVHVHBwRzNWX2c&output=html

If you tweak the link, it can provide you with the JSON representation of the data.

https://docs.google.com/spreadsheet/tq?key=0Aj9J3uCNjN9_dG1rdmNtTlhyNWpkTUVHVHBwRzNWX2c&pub1

Basically, what you have to do in order to get the JSON response is replace the "pub" element to "tq" and remove the "output=html" element at the end adding "pub1" instead.

With this procedure you should be able to create your own datasource for your tests. You can find more information on the Google Chart API documentation:

https://developers.google.com/chart/interactive/docs/spreadsheets

Hope it helps



来源:https://stackoverflow.com/questions/18460358/data-set-that-can-be-used-for-statistics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!