How seanhorner/spark works
This repository contains several independent Apache Spark analyses rather than one application. The clearest end-to-end workflow is the Twitter bot: it polls mentions, obtains tweet or user data, analyzes it, and replies. The MeetUp project has parallel Python and Scala implementations for collecting and analyzing event data, with interactive Scala question runners and plotting support. The cryptocurrency project has gathering, pruning, and analysis modules. Some links are omitted where the supplied excerpts and reference index do not establish runtime calls; unsampled MeetUp capabilities are retained as subsystem nodes based on the tree and README.
Main entry points: FrontEnd.scala Mention bot · Runner.scala MeetUp collection · TwitterDAO.scala REST data access · scala Scala question runners
Components 27
Twitter analysis
- Mention bot
training_project_2/scala/frontEnd/FrontEnd.scala - REST data access
training_project_2/scala/twitterdao/TwitterDAO.scala - Tweet model
training_project_2/scala/twitterobjects/Tweet.scala - Stream collector
training_project_2/scala/twitterdao/StreamingTwitterDAO.scala - Tweet analysis
training_project_2/scala/analyses/analysisEngine.scala - Saved data
training_project_2/scala/frontEnd/SaveData.scala
MeetUp analysis
- Question menu
training_project_4/scala/MainRunner.scala - Scala question runners
training_project_4/scala - MeetUp collection
training_project_4/scala/MichaelSplaver/data_collection/Runner.scala - API authorization
training_project_4/scala/MichaelSplaver/data_collection/AuthHelper.scala - JSON helpers
training_project_4/scala/MichaelSplaver/data_collection/JsonHelper.scala - Description cleanup
training_project_4/scala/Shared/description_scrubber.scala - Scala event analysis
training_project_4/scala/LiamHood/Analysis.scala - Location analysis
training_project_4/scala/MichaelSplaver/Locations.scala - Category analysis
training_project_4/scala/MichaelSplaver/Categories.scala - Analysis plots
training_project_4/scala/LiamHood/Plots.scala - Python collection
training_project_4/python/data_collection.py - Python analysis
training_project_4/python/analysis_engine.py - Analysis helpers
training_project_4/python/ae_helper.py
Crypto analysis
- Data gathering
training_project_5/python/data_gathering.py - Data pruning
training_project_5/python/data_pruning.py - Price analysis
training_project_5/python/analysis_engine.py
Other components
- Twitter user
- Twitter API
- Analyst
- MeetUp API
- Crypto history
Connections 22
- Twitter user → Mention bot: sends mentions
training_project_2/scala/frontEnd/FrontEnd.scala - Mention bot → REST data access: queries data
training_project_2/scala/frontEnd/FrontEnd.scala - REST data access → Twitter API: requests tweets
training_project_2/scala/twitterdao/TwitterDAO.scala - REST data access → Tweet model: parses as
training_project_2/scala/twitterdao/TwitterDAO.scala - Mention bot → Tweet analysis: analyzes data
training_project_2/scala/frontEnd/FrontEnd.scala - Mention bot → Twitter API: posts reply
training_project_2/scala/frontEnd/FrontEnd.scala - Stream collector → Twitter API: collects stream
- Mention bot → Saved data: saves data
training_project_2/scala/frontEnd/FrontEnd.scala - Analyst → Question menu: chooses analysis
training_project_4/scala/MainRunner.scala - Question menu → Scala question runners: dispatches questions
training_project_4/scala/MainRunner.scala - Scala question runners → Scala event analysis: runs analysis
training_project_4/scala/MainRunner.scala - Scala question runners → Analysis plots: generates plots
training_project_4/scala/LiamHood/LiamRunner.scala - MeetUp collection → MeetUp API: requests event data
- API authorization → JSON helpers: reads credentials
training_project_4/scala/MichaelSplaver/data_collection/AuthHelper.scala - MeetUp collection → Description cleanup: cleans descriptions
training_project_4/scala/MichaelSplaver/data_collection/Runner.scala - MeetUp collection → Category analysis: uses categories
training_project_4/scala/MichaelSplaver/data_collection/Runner.scala - MeetUp collection → Location analysis: uses locations
training_project_4/scala/MichaelSplaver/data_collection/Runner.scala - Python collection → MeetUp API: collects event data
- Python analysis → Analysis helpers: uses helpers
training_project_4/python/analysis_engine.py - Crypto history → Data gathering: provides history
- Data gathering → Data pruning: prepares data
- Data pruning → Price analysis: feeds analysis