Skip to content

axiom-of-choice/etl-conagua-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETL Conagua

What is it?

This repository is a small project consisting of an ETL pipeline using Spark Scala and a public API:

  1. Request the follwing endpoint to download the GZIP about weather foerecast in Mexico per day by municipality: https://smn.conagua.gob.mx/tools/GUI/webservices/?method=1
  2. Converts the GZIP into a json file
  3. Reads the data with Spark and write it into a parquet

How to use it?

It is pretty simple, you just need to check if sbt and scala is appropiately installed

To install dependencies:

sbt compile

To health check

sbt "runMain etl.hello.Hello"

If everything went good then run

sbt "runMain etl.Main"

Run tests

sbt test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages