Coder Social home page Coder Social logo

sparkassignment's Introduction

Spark COVID-19 Data Analysis

This project utilizes Python Notebooks for analyzing COVID-19 data. It includes two main notebooks:

  • api_to_csv.ipynb: Python Notebook for fetching COVID-19 data from an API and saving it to a CSV file.
  • data_analyse.ipynb: Python Notebook for analyzing the fetched COVID-19 data, generating insights, and running an HTTP server to expose RESTful APIs.

Overview

api_to_csv.ipynb

This notebook performs the following tasks:

  • Fetches COVID-19 data from an external API.
  • Processes the fetched data.
  • Saves the processed data to a CSV file.

data_analyse.ipynb

This notebook performs the following tasks:

  • Reads the COVID-19 data from the CSV file.
  • Analyzes the data to generate insights such as:
    • Most affected country
    • Least affected country
    • Total cases
    • Country with highest cases
    • Country with minimum cases
    • Most efficient country
    • Least efficient country
    • Country with least critical cases
    • Country with highest critical cases
  • Additionally, it includes HTTP server code for running an HTTP server that exposes RESTful APIs to access the analyzed COVID-19 data.

Usage

  1. Open the api_to_csv.ipynb notebook in Jupyter Notebook or JupyterLab.
  2. Run the notebook cells to fetch and process the COVID-19 data and save it to a CSV file.
  3. Open the data_analyse.ipynb notebook.
  4. Run the notebook cells to analyze the fetched COVID-19 data, generate insights, and start the HTTP server to access the RESTful APIs. 1 2 3.1 3 4

Dependencies

  • Python Notebook
  • Pandas
  • Requests (for fetching data from the API)
  • Spark
  • Other dependencies as required (specified within the notebooks)

sparkassignment's People

Watchers

Rishi gupta 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.