Backend to a dynamic visualization of the LinkMeUp userbase (http://www.linkmeupmessenger.com/map/)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Data Requests
Phone Number Lookup
Web Backend
.gitignore
README.md
analyze_session.py
calc_user_stats.py
crontab
print_last_updated.py
run_analytics.sh

README.md

LinkMeUp-Analytics is the backend to a dynamic, Google Maps-based visualization of the LinkMeUp userbase (http://www.linkmeupmessenger.com/map/).

How it works

calc_user_stats.py runs as a cron job on an AWS EC2 instance, periodically updating a local MongoDB collection with data pulled from LinkMeUp's backend database via get_class_data.py.

In particular, calc_user_stats.py uses module phone_lookup_whitepages.py to get location data for new users, and module analyze_session.py to extract insights from session logs.

Finally, backend.py acts as the web server backend to the userbase map. In response to AJAX requests from the frontend, it queries the mongo collection for valid records and returns data on cities with LinkMeUp users.