Editing Community Data Science Course (Spring 2015)/Day 6 Coding Challenges
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Who are my followers? == | == Who are my followers? == | ||
# For each of your followers, get ''their'' followers. (Try using <code>time.sleep()</code> to slow down your data collection.) | |||
# For each of your followers, | # Identify the follower you have that also follows the most of your followers. | ||
# How many users follow you but none of your followers? | |||
# | # Repeat these analyses for people you follow, rather than that follow you. | ||
# | |||
# | |||
== Topics and Trends == | == Topics and Trends == | ||
Line 22: | Line 19: | ||
# What are people tweeting about in Times Square today? | # What are people tweeting about in Times Square today? | ||
# Set up a bounding box around TS and around NYC as a whole. | # Set up a bounding box around TS and around NYC as a whole. | ||
# Do "static" (i.e., not using the streaming API) geolocation search using code | # Do "static" (i.e., not using the streaming API) geolocation search using code: | ||
d = api.search(geocode='37.781157,-122.398720,1mi') | d = api.search(geocode='37.781157,-122.398720,1mi') |