https://github.com/abderrahmanemustapha/algeria-api-natural-disaster
the natural disaster algerian api
https://github.com/abderrahmanemustapha/algeria-api-natural-disaster
algeria algeria-api algerian-api earthquakes flood natural-disasters
Last synced: 6 months ago
JSON representation
the natural disaster algerian api
- Host: GitHub
- URL: https://github.com/abderrahmanemustapha/algeria-api-natural-disaster
- Owner: abderrahmaneMustapha
- License: mit
- Created: 2020-10-11T20:19:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-26T16:19:04.000Z (almost 5 years ago)
- Last Synced: 2023-03-02T22:40:44.152Z (over 2 years ago)
- Topics: algeria, algeria-api, algerian-api, earthquakes, flood, natural-disasters
- Language: Python
- Homepage:
- Size: 931 KB
- Stars: 9
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Algeria API (Natural disaster)
this repository is an external dependency of the [Algerian Api](https://github.com/Fcmam5/algeria-api) , provide a structured JSON and XML data that can be found in [WialyaNaturalDisasterList.json](/data/WialyaNaturalDisasterList.json) and [WialyaNaturalDisasterList.xml](/data/WialyaNaturalDisasterList.xml)
## Meta
### Resources
A list of resources that we are using to get Data :
#### earthquakes
- [catnat]( https://www.catnat.net/donneesstats/bd-catnat)
- [volcanodiscovery.com](https://www.volcanodiscovery.com/earthquakes/algeria/archive/2011-may-.html)
- [recherche catalogue](/utils/dataResources/files/recherche_catalogue_0_1602169384.csv)
- [kaggle data set (608 mb)](https://www.kaggle.com/danielpe/earthquakes)
- [earthquake usgs api](https://earthquake.usgs.gov/fdsnws/event/1/query?format=csv&starttime=20100907&latitude=28&longitude=2.&maxradius=50)
#### floods
- nothing to see here yet
[click here](/utils/dataResources/files/more.md) to see more data resources that i haven't check yet, feel free to add more resources, or review existing resources
### Code
- [datafromapi.py](https://github.com/abderrahmaneMustapha/algeria-api-natural-disaster/blob/main/utils/code/earthquakes/datafromapi.py) :
to get data from earthquake.usgs.gov
- [datafromcsv.py](https://github.com/abderrahmaneMustapha/algeria-api-natural-disaster/blob/main/utils/code/earthquakes/datafromcsv.py) :
to manipulate data in earthquakes csv files in [here](https://github.com/abderrahmaneMustapha/algeria-api-natural-disaster/tree/main/utils/dataResources/files/earthquakes)
- [webscraper.py](https://github.com/abderrahmaneMustapha/algeria-api-natural-disaster/blob/main/utils/code/earthquakes/webscraper.py) :
scrape data from earthquakes websites in [here](https://github.com/abderrahmaneMustapha/algeria-api-natural-disaster/blob/main/utils/dataResources/files/more.md)
### Data
- [algeria_from_api](https://github.com/abderrahmaneMustapha/algeria-api-natural-disaster/blob/main/utils/dataResources/files/earthquakes/algeria_from_api.csv) :
cotains data fetched from earthquake.usgs.gov doesn't contain a exact_place row
- [algeria_consolidated_data.csv](https://github.com/abderrahmaneMustapha/algeria-api-natural-disaster/blob/main/utils/dataResources/files/earthquakes/algeria_consolidated_data.csv) :
final earthquakes results## License
Copyright (c) 2020 Licensed under the MIT license.