Created
January 10, 2015 00:38
-
-
Save chrislkeller/fb9488892e243f8755d4 to your computer and use it in GitHub Desktop.
When you need to name data blogs and data teams and you can't think of anything... script it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from random import shuffle | |
data_terms = [ | |
"Parser", | |
"Numbered", | |
"Quantified", | |
"Quantifying", | |
"Clusters", | |
"Data", | |
"Points", | |
"Sifting", | |
"Metadata", | |
"Gleanings", | |
"Numbers", | |
"Bytes", | |
"Bits", | |
"Nuggets", | |
"Haystack", | |
"Nebula", | |
"Datum", | |
"Granular", | |
"Takeaway", | |
"Knowledge", | |
"Facts", | |
"Detail", | |
"Findings", | |
"Statistics", | |
"Reference", | |
"Analysis", | |
"Figures", | |
"Details", | |
"Particulars", | |
"Specifics", | |
"Information", | |
"Intelligence", | |
"Info", | |
] | |
news_terms = [ | |
"News", | |
"Mine", | |
"Rundown", | |
"Wire", | |
"Dive", | |
"News", | |
"Hack", | |
"Sifting", | |
"Story", | |
"Searching", | |
"Daily", | |
"Dose", | |
"Report", | |
"Announcement", | |
"Story", | |
"Account", | |
"Article", | |
"News Flash", | |
"Newscast", | |
"Headlines", | |
"Communique", | |
"Bulletin", | |
"Crawl", | |
"Ticker", | |
"Message", | |
"Dispatch", | |
] | |
location_terms = [ | |
"SoCal", | |
"Southern California", | |
"Los Angeles", | |
"LA", | |
"Freeways", | |
"The Drive", | |
"Commute", | |
"Cal", | |
"DTLA", | |
"Your World", | |
] | |
list_of_lists = [] | |
blog_names = [] | |
limit = 1000 | |
count = 0 | |
while count < limit: | |
list_of_lists.append(data_terms) | |
list_of_lists.append(news_terms) | |
list_of_lists.append(location_terms) | |
term_list = random.sample(list_of_lists, 2) | |
first_term = random.sample(term_list[0], 1) | |
second_term = random.sample(term_list[1], 1) | |
blog_name = "* %s %s" % (first_term[0], second_term[0]) | |
blog_names.append(blog_name) | |
blog_name = "* %s %s" % (second_term[0], first_term[0]) | |
blog_names.append(blog_name) | |
count = count + 1 | |
for name in random.sample(blog_names, 2000): | |
print name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment