GithubHelp home page GithubHelp logo

covid-19-pandemic's Introduction

Data Engineering Project: Covid-19 Analysis

Getting Started

This script downloads COVID-19 data from a Google Drive URL, transforms the data, and loads it into a PostgreSQL database. The script is written in Python and requires several dependencies, including pandas, opendatasets, and psycopg2.

pip install pandas
pip install opendatasets
pip install psycopg2

Next, create a .env file in the root directory of the project and add the following environment variables:

DB_USER_NAME=<your_database_user_name>
DB_PASSWORD=<your_database_password>
DB_NAME=<your_database_name>
DB_PORT=<your_database_port>
DB_HOST=<your_database_host>

Running the Script

To run the script, simply execute the following command:

python covid_19.py

This will download the COVID-19 data from the Google Drive URL, transform the data, and load it into your PostgreSQL database. You should see several success messages printed to the console indicating that the data was extracted, transformed, and loaded successfully.

Conclusion

This script provides a simple way to download, transform, and load COVID-19 data into a PostgreSQL database. With some modifications, you can adapt this script to work with other datasets and databases.

covid-19-pandemic's People

Contributors

southboy12 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.