/explore-spacex-missions

Explore SpaceX Missions is a web app that lets users engage with SpaceX’s past missions data interactively.

Primary LanguagePythonMIT LicenseMIT

GitHub GitHub


Explore SpaceX Missions is a web app that lets users engage with SpaceX’s past missions data interactively, through sections ranging from launches, payloads to landings.

Part of the author's portfolio, Explore SpaceX Missions is an end-to-end Data Science & Analytics project -- from retrieving the data & web scraping, ETL, data analysis & visualization to deploying a web app.


The project

Retrieving the data & web scrapping

  • The data was retrieved from r/SpaceX’s API, using the requests python library.
  • Additional data regarding rockets was scrapped from Wikipedia, also using requests.

Data analysis & visualization

  • ETL required custom functions, as extracting the rows proved laborious due to the data being deeply nested in .json and .html files.
  • Data analysis and visualization was performed using Python's Numpy, Pandas and Matplotlib libraries.

Presenting the findings

The findings were presented as a web app in the form of a streamlit and hosted on Heroku.


Installation

Downloading & editing the web app

  1. Clone the repository with the 'clone' command, or just download the zip.
$ git clone git@github.com:https://github.com/gavin-bauer/spacex-dashboard.git
  1. Install the requirements

  2. Download or Open your IDE (i.e. Atom) and start editing the file app.py.

Running the app locally

cd to the spacex-dashboard repo and run the following command.

$ streamlit run app.py

Deployment

  1. Sign up for a Heroku account.
  2. Create a new Web App on Heroku and grant Heroku permission to access the GitHub repository containing the project.
  3. On the deployment screen, pick a name for the web app.
  4. Choose the Manual deploy. Select the branch to deploy and deploy. The web app will begin building and should be live in a few minutes at the URL displayed in the Heroku dashboard, under the Settings tab.

Built with

Author

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgements