Skip to content

Aymen-Tirchi/fos-data-engineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather ETL (Extract, Transform, Load)

This project is an ETL (Extract, Transform, Load) pipeline that retrieves current weather data for a list of cities in Algeria and saves the data to various output files. The ETL process is automated using a cron job that updates the weather data every 10 minutes.

Features

  • Retrieves current weather data using the Open-Meteo API.
  • Uses geocoding to obtain latitude and longitude coordinates for cities using the Nominatim API.
  • Supports custom list of cities stored in a JSON file.
  • Saves the weather data to multiple output files (root folder):
    • raw_data_.json: Contains the raw weather data for all cities.
    • transformed_data.csv: Contains the transformed weather data in CSV format.
    • temperature_map.html: Displays an interactive map with temperature data.

Prerequisites

  • Docker installed on your system.

Installation

  1. Clone the repository:
   git clone https://github.com/Aymen-Tirchi/fos-data-engineering
  1. Build the Docker image:
docker build -t cron-job .
  1. Run the Docker container:
docker run cron-job

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published