Downloading social network data using public APIs
Social networking websites provide public APIs to enable us to download their data. In this recipe, we cover the process of downloading data from Meetup.com using their public API. You can adapt this basic approach to download data from other websites. In this recipe, we get the data in JSON format and then import it into an R data frame.
Getting ready
In this recipe, you will download data from Meetup.com. To gain access to the data, you need to be a member:
- If you do not have an account in http://www.meetup.com, sign up and become a member of a couple of groups.
- You need your own API key to download data through scripts. Get your own by clicking on the API Key link on http://www.meetup.com/meetup_api/ ...
Get R: Recipes for Analysis, Visualization and Machine Learning now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.