Skip to main content

API for retrieval of catchment data for land cover and livestock

Project description

catchment_data_api

license python Code style: black

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

catchment_data_api-0.1.0.tar.gz (359.1 kB view details)

Uploaded Source

Built Distribution

catchment_data_api-0.1.0-py3-none-any.whl (360.4 kB view details)

Uploaded Python 3

File details

Details for the file catchment_data_api-0.1.0.tar.gz.

File metadata

  • Download URL: catchment_data_api-0.1.0.tar.gz
  • Upload date:
  • Size: 359.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.0 Linux/5.15.0-105-generic

File hashes

Hashes for catchment_data_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7789f7e7af468e74e197097acce9b21998cb43b958763c9114136e1e8a94e2b
MD5 4a575db0095ee648935c481bb4190ad0
BLAKE2b-256 acb5523fef84d4f5014c87264e89b57f8f660c9e392fe1054e9e02e8e39c9670

See more details on using hashes here.

File details

Details for the file catchment_data_api-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: catchment_data_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 360.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.0 Linux/5.15.0-105-generic

File hashes

Hashes for catchment_data_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa3f93d9266b162d94c4c70abac360ca85be12c87a998deb02d485b9fc09b0bc
MD5 86b1227020d55ebb691f0f1c2f82b784
BLAKE2b-256 9303a92b03ce27da0ee0468ced4960b65093ac7c6e310f6457f08646896bfd41

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page