- 1、本文档共6页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
【原创】定制代写r/python/spss/matlab/WEKA/sas/sql/C++/stata/eviews数据挖掘和统计分析可视化调研报告等服务(附代码数据),
咨询邮箱:
3025393450@
欢迎联系官网客服:/teradat
有问题百度一下“大数据部落”就可以了
In my project I visualize data received from Spotify and additional sources.
Here briefly I will explain what my code does. Server contains event listener “onclick”. After inserting token in starts to receive data from Spotify Top 50 Global playlist.
There is two moments I want to mention:
API data does not contain amount of streams. So I manually download data from parsers and merge these two data sets using “track url”. Because “track name” could be non-unique.
API data also doesn’t allow to see genres. To find them I send requests for each artist+track and adds genre and amount of “scrobbles”.
Genre request is a very time-consuming process, so there were added progress bar that fills by 1/50 per each track.
When all data is received, data sets for charts and node list for dendrogram is created, Proceed function revoke function Test to build charts. Everything goes to UI that shows checkbox “Processed!”, slider for reactive charts and charts by themselves.
Table with variables I use for visualization:
Bubble chart with release date, artist name and amount of streams.
Line plot with streams and scrobbles comparison by the release date time. Red - last.fm. Green - Spotify.
Histogram with most popular genres and artists as a “fill” for each bar.
Boxplot for albums “explicit” label and genre as well:
Dendrogram for genres - artist - songs.
Full size:
There are still some improvements that could be added, like:
error message when token is wrong
external function that requests token automatically.
But now it is possible to receive token here (after registration) : HYPERLINK /console/get-artist/?id= \h /console/get-artist/?id=
Also, here is my website with EC2 instance and Shiny on it: :3838/apps/spotifystats/
文档评论(0)