https://github.com/cblavier/arcep_watch
Arcep Watch is a simple Elixir console application meant to get accurate figures about Optical Fiber deployment in France, per city.
https://github.com/cblavier/arcep_watch
Last synced: 12 months ago
JSON representation
Arcep Watch is a simple Elixir console application meant to get accurate figures about Optical Fiber deployment in France, per city.
- Host: GitHub
- URL: https://github.com/cblavier/arcep_watch
- Owner: cblavier
- Created: 2021-01-09T13:49:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T16:01:07.000Z (over 5 years ago)
- Last Synced: 2025-04-05T01:44:25.350Z (over 1 year ago)
- Language: Elixir
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arcep Watch
Arcep Watch is a simple Elixir console application meant to get accurate figures about **Optical Fiber deployment** in **France**, per city.
Data are provided by [ARCEP](https://www.arcep.fr) and retrieved from from [datagouv.fr](https://www.data.gouv.fr/fr/datasets/le-marche-du-haut-et-tres-haut-debit-fixe-deploiements/)
## Setup
- Install latest Elixir and run `mix deps.get` to retrieved dependencies
- Have a local PostgresQL running and set connection info `in dev.exs`
- Run `mix ecto.create` and `mix ecto.migrate` to setup the database
## Running
- Run `mix arcep.watch download 2020 3` to download ARCEP Data, 3rd trimester of 2020 from [datagouv.fr](https://www.data.gouv.fr/fr/datasets/le-marche-du-haut-et-tres-haut-debit-fixe-deploiements/)
- Run `mix arcep.watch load 2020 3` to load data from CSV files to database
- Run `mix arcep.watch insights 44120` to get all insights for 44120 zip code (you can also specify year and even trimester : `mix arcep.watch insights 44120 2020`)