Covid-19 Statics SCRAPER
This script scrapes COVID-19 data from Worldometer's Coronavirus page and saves it into a CSV file named "covid19_now_2024_23_03.csv". It then performs data analysis and cleaning using Python libraries such as BeautifulSoup, requests, and pandas. The cleaned data is stored in a pandas DataFrame with updated column names for better readability and understanding.
Ensure you have Python installed along with the necessary libraries like BeautifulSoup
, requests
, pandas
, and csv
.
- Run the script
covid_data_collection.py
to scrape COVID-19 data and save it into a CSV file. - Run the script
analyze_data.py
to perform data analysis and cleaning. - Check the output DataFrame to view the cleaned and updated data.
- Make sure you have installed the required libraries using
pip install -r requirements.txt
. - Run the scripts
covid_data_collection.py
andanalyze_data.py
in your Python environment.
- Python 3.x
- Libraries:
BeautifulSoup
,requests
,pandas
- Ensure the URLs are correctly set in the scripts.
- Customize the file names and paths according to your requirements.
- Adjust the data cleaning and analysis steps as needed for your specific use case.
#This project is licensed under the MIT License.#