A few weeks ago, I shared Python scripts with Peter Knoop at The University of Michigan. He was kind enough to share a cool ArcGIS Online wordcloud generator, which as you might have already guessed, I tweaked and ran against ArcGIS Online this morning with a few Valentine's Day related terms: love and Valentine.
The Python script uses the libraries: ArcGIS API for Python, BeautifulSoup (text cleanup), and wordcloud.
The script searches the titles of up to 10,000 ArcGIS Online public maps for the keywords love or valentine and then grabs the description from the maps meeting our criteria. Using the word cloud library, the most common terms are found in the descriptions and the word cloud created.
The word "love" was found in the title of 277 maps in ArcGIS Online today. The descriptions of those maps produced this wordcloud.
Running the script a second time with "valentine" produced 57 maps with descriptions producing the following wordcloud.
I noticed "pest" showing up in our love wordcloud and the lack of "valentine" in our valentine wordcloud (at least the english version). Let me know what you see in the wordclouds below.
Happy Valentine's Day!