希望从投票网站上从交互式图中刮擦数据

发布于 2025-02-02 22:29:51 字数 501 浏览 3 评论 0 原文

我希望从该选民选区传输的数据点 -law-large-numbers-polls/“ rel =“ nofollow noreferrer”>网站

所需图的照片

我收集数据的方法是通过检查 - >网络选项卡功能以找到JSON或JS文件类型,下载并转换为表格数据。这是我在每个特定候选人的时间序列中的其他投票网站,甚至每个省的最终计数的方法,但是除此图外,我似乎找不到每个省份的时间序列数据。

我对Python Webscraping套件(例如美丽的汤或硒)并不过分熟悉,但愿意学习时学习。

解决方案非常感谢,谢谢!

I am looking to pull data points from the Voter Precinct Transmission by Region graph from this website.

Photo of Desired Graph

My method to collect the data was to go through the Inspect -> Network tab feature to locate the json or js file type, download it, and convert into tabulated data. This was my approach from other polling sites for time series for each specific candidate and even final count per province, but I cannot seem to find time series data for each respective province except for this graph.

I am not overly familiar with Python webscraping packages such as Beautiful Soup or Selenium but willing to learn if need be.

Solutions much appreciated, thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文