Steps 2 and 3 get data from Meetup.com using their console.
By default, Meetup APIs return 20 results (JSON documents) for each call. However, by adding page=n to the console or the URL (where n is a number), we can get more documents (up to a maximum of 200). The API response contains metadata information including the number of documents returned (in the count element), the total documents available (the total_count element), the URL used to get the response, and the URL to get the next set of results (the next element).
Step 4 saves the results displayed in the browser as groups.json in your R working directory.
Step 5 loads the JSON data file into an R data frame using the from JSON function in the jsonlite package. For ...