Data processing

Now that the data is extracted, it's time to process it and prepare for the final analysis.

The full_data variable will contain a list of items, where a single item looks as follows:

{'etag': '"m2yskBQFythfE4irbTIeOgYYfBU/XgRZI3UhbKRFQZGd-n-2OCOKR8A"', 
 'id': 'z13jynay3seygpvzy04cef5r2tm5ihh4d0k', 
 'kind': 'youtube#commentThread', 
 'snippet': {'canReply': False, 
  'isPublic': True, 
  'topLevelComment': {'etag': '"m2yskBQFythfE4irbTIeOgYYfBU/jW3EfLcy4MnIFrtFloQEjokBPXU"', 'id': 'z13jynay3seygpvzy04cef5r2tm5ihh4d0k', 'kind': 'youtube#comment', 'snippet': {'authorChannelId': {'value': 'UCuJkT4Bsd1qiIQoI8Rbf_hg'}, 'authorChannelUrl': 'http://www.youtube.com/channel/UCuJkT4Bsd1qiIQoI8Rbf_hg', 'authorDisplayName': 'Vince / FCB', 'authorProfileImageUrl': ...

Get Python Social Media Analytics 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.