Spark Weibo population Flow analysis (1)

Source: Internet
Author: User

    • Ideas

Sina Weibo API interface provides the API interface for users of Weibo near the location, so try to analyze the population flow by analyzing the distribution of users across the country during the Spring festival, and then combining the information of user registration.

    • Data acquisition

0: Sina Weibo API interface

Nearbyuser:http://open.weibo.com/wiki/2/place/nearby/users

City Code: HTTP://OPEN.WEIBO.COM/WIKI/%E7%9C%81%E4%BB%BD%E5%9F%8E%E5%B8%82%E7%BC%96%E7%A0%81%E8%A1%A8

1: Time stamp

January 10, 2016 to February 20, 2016 (inclusive of the whole Chinese New year before and after)

2: National Collection point data

In a prefecture-level cities unit, with 10000 meters for the grid units, the acquisition time range is sqrt (2)/2*c, and in the prefecture-based units to heavy

3: Program

Using CSharp language, Source code:https://github.com/gaufung/weibodataming

(not to be continued)

Spark Weibo population Flow analysis (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.