<commit_before>from config import FIREBASE_CONFIG
import pyrebase
import app.geo as geo

focus = (19.915403, -155.8961577)

firebase = pyrebase.initialize_app(FIREBASE_CONFIG)
db = firebase.database()

from app.constants import venuesTable

venueTableComplete = db.child(venuesTable).get().val()
venueData = venueTableComplete["details"]
cacheData = venueTableComplete["cache"]

import json<commit_msg>No issue: export_venues: Add descriptive comments.<commit_after>"""Logs debug information about a specific location from Firebase.

For sample output (1/18/17) and a brief explanation, see:
https://gist.github.com/mcomella/15b5a9fc9140e9d6c9070e0380d700b9

To visualize the returned GPS coordinates, hampster map is recommended.

To log results from the production database, see readme.

"""
from config import FIREBASE_CONFIG
import pyrebase
import app.geo as geo

# --- START MODIFIABLE PARAMETERS --- #
# The location around which you'd like to log.
focus = (19.915403, -155.8961577)
# --- END MODIFIABLE PARAMETERS --- #

firebase = pyrebase.initialize_app(FIREBASE_CONFIG)
db = firebase.database()

from app.constants import venuesTable

venueTableComplete = db.child(venuesTable).get().val()
venueData = venueTableComplete["details"]
cacheData = venueTableComplete["cache"]

import json
{'fraction_non_alphanumeric': 0.0973724884080371, 'fraction_numerical': 0.04868624420401855, 'mean_word_length': 5.641025641025641, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7524081', 'n_tokens_mistral': 437, 'n_tokens_neox': 400, 'n_words': 114}