API for retrieval of catchment data for land cover and livestock
Project description
catchment_data_api
API for retrieval of catchment data for land cover and livestock. The package uses data derived from the National Landcover Map, the Teagasc Soils Map and LUCAS crop map.
Installation
Install from github
pip install "cathment_data_api@git+https://github.com/GOBLIN-Proj/catchment_data_api.git@main"
Install from PyPI
pip install catchment_data_api
Usage
from catchment_data_api import catchment_data_api
def main():
api = catchment_data_api.CatchmentDataAPI()
df = api.get_catchment_livestock_data()
print(df.head())
df1 = api.get_catchment_livestock_data_by_catchment_name("blackwater")
print(df1.head())
print(api.get_catchment_names())
df2 = api.get_catchment_livestock_total_pop_by_catchment_name("blackwater")
print(df2.head())
if __name__ == "__main__":
main()
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
catchment_data_api
was created by Colm Duffy. It is licensed under the terms of the MIT license.
Credits
catchment_data_api
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file catchment_data_api-0.1.3.tar.gz
.
File metadata
- Download URL: catchment_data_api-0.1.3.tar.gz
- Upload date:
- Size: 379.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.0 Linux/5.15.0-122-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35098ce2793fe8a47685d250ae5d35a7cc7336a579d5ee4dd5f134f68ed86b50 |
|
MD5 | 4572f9b2cde2a810dc1b2f6aebb7af9d |
|
BLAKE2b-256 | d5cdb393a6572deccc6268569a1504199733503caaebd17b336299e310574038 |
File details
Details for the file catchment_data_api-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: catchment_data_api-0.1.3-py3-none-any.whl
- Upload date:
- Size: 380.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.0 Linux/5.15.0-122-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d9acc8bc037ff0c6f85564fb7fe823ad86fbb0c3c3f79ee63d9a1c6d32335ba |
|
MD5 | bc59295bba3c1e156facb637d43b08a7 |
|
BLAKE2b-256 | 4b1aee833a685477df2b2b18afe145f53f284e1e2669f82afd9f53226a496d5b |