{ "info": { "author": "Christoph Fink", "author_email": "christoph.fink@helsinki.fi", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Download data from the African Elephant Database\n\nThe African Elephant Database ([http://africanelephantdatabase.org/](http://africanelephantdatabase.org/)) is an online effort by the [IUCN SSC African Elephant Specialist Group (AfESG)](http://www.iucn.org/african_elephant) to gather data from different surveys and combine it with past African Elephant Status Reports (published by the same group).\n\nThe database is freely accessible online via a web user interface, and released under a [Creative Commons Attribution-NonCommercial-ShareAlike license](http://creativecommons.org/licenses/by-nc-sa/4.0). Unfortunately, at the time of this writing, the AfESG did not have means to access the backend and retrieve raw data.\n\nThis script swifts through the online user interface and downloads all data contained in the \u201cElephant Estimates\u201d columns as well as the spatial geometry of each *stratum* (the smallest area reported). It retains the hierarchy of spatial units by referencing to the higher-order units in attributes in order to allow the reconstruction of data on the level of *input systems*, *countries*, *regions* and the entire *continent*.\n\nIf you use *python-africanelephantdatadownloader* for scientific research, please cite it in your publication:
\nFink, C. (2019): *python-africanelephantdatabasedatadownloader: a Python utility to download the most up-to-date data from the African Elephant Database*. [doi:10.5281/zenodo.3243872](https://doi.org/10.5281/zenodo.3243872)\n\n### Dependencies\n\nThe script is written in Python 3 and depends on the Python modules [BeautifulSoup4](https://www.crummy.com/software/BeautifulSoup/bs4/), [GeoPandas](https://geopandas.org/), [Shapely](https://github.com/Toblerity/Shapely) and [requests](https://2.python-requests.org/).\n\nTo install all dependencies on a Debian-based system, run:\n\n```shell\napt-get update -y &&\napt-get install -y python3-dev python3-pip python3-virtualenv \\\n python3-bs4 python3-geopandas python3-requests python3-shapely\n```\n\n(There\u2019s an Archlinux AUR package pulling in all dependencies, see further down)\n\n\n### Installation\n\n- *using `pip` or similar:*\n\n```shell\npip3 install -u africanelephantdatabasedatadownloader\n```\n\n- *OR: manually:*\n\n - Clone this repository\n\n ```shell\n git clone https://gitlab.com/helics-lab/python-africanelephantdatabasedatadownloader.git\n ```\n\n - Change to the cloned directory \n - Use the Python `setuptools` to install the package:\n\n ```shell\n cd python-africanelephantdatabasedatadownloader\n python3 ./setup.py install\n ```\n\n- *OR: (Arch Linux only) from [AUR](https://aur.archlinux.org/packages/python-africanelephantdatabasedatadownloader):*\n\n```shell\n# e.g. using yaourt\nyaourt python-africanelephantdatabasedatadownloader\n```\n\n\n### Usage\n\nRun `aed-downloader [outputFile]`. It will download all data (be patient) and save it in [GeoPackage](http://www.geopackage.org/spec/) format to `outputFile` (default is `output.gpkg` in the current working directory).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/helics-lab/africanelephantdatabasedatadownloader", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "africanelephantdatabasedatadownloader", "package_url": "https://pypi.org/project/africanelephantdatabasedatadownloader/", "platform": "", "project_url": "https://pypi.org/project/africanelephantdatabasedatadownloader/", "project_urls": { "Homepage": "https://gitlab.com/helics-lab/africanelephantdatabasedatadownloader" }, "release_url": "https://pypi.org/project/africanelephantdatabasedatadownloader/0.0.6/", "requires_dist": [ "beautifulsoup4 (>=4.7.0)", "geopandas", "requests", "shapely", "versioneer" ], "requires_python": "", "summary": "Download data from the African Elephant Database", "version": "0.0.6" }, "last_serial": 5414554, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "6b203a3ad5f996759f3e0f5b1cdabd4c", "sha256": "56eadd867e4e1119817d5e68f298aa4fcfbe6cd72e4d1f72ebb14f468c4fede2" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "6b203a3ad5f996759f3e0f5b1cdabd4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 33253, "upload_time": "2019-06-11T08:17:12", "url": "https://files.pythonhosted.org/packages/8b/28/f83bcad61b66e302aafd4f7bb1ca1b3d2bfbbd518775ccbbb76c97ca3934/africanelephantdatabasedatadownloader-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "518fdf62e94d60dd6b62a711a3074d1a", "sha256": "1a33cce81605f681cc56f19b9cd0fc3004f21f7728f91d0acb4a12f150cfc1e7" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.4.tar.gz", "has_sig": false, "md5_digest": "518fdf62e94d60dd6b62a711a3074d1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35667, "upload_time": "2019-06-11T08:17:15", "url": "https://files.pythonhosted.org/packages/75/a4/c89b293520e4a568bc8a8ce7ffff5dd049199745e1f83d7c322d1f29172e/africanelephantdatabasedatadownloader-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "232d2ed15199800e6dfe35989d6e6a66", "sha256": "910314c4c9c458d23417c6dfd176a8a6286046b59bad7d3d98c516cf611316b3" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "232d2ed15199800e6dfe35989d6e6a66", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 33459, "upload_time": "2019-06-18T09:20:28", "url": "https://files.pythonhosted.org/packages/73/42/e06daf76c76917a1642ee62abfdcac12e94413282346162dedd6979ff143/africanelephantdatabasedatadownloader-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ae95fbd532720cceb3ded42bbb874cc", "sha256": "f8e39674ed93ae966a215dacaa22ecbdaa40d2e8fd075e30d1668b662c71d855" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.5.tar.gz", "has_sig": false, "md5_digest": "9ae95fbd532720cceb3ded42bbb874cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35979, "upload_time": "2019-06-18T09:20:30", "url": "https://files.pythonhosted.org/packages/e5/ff/845fdfb96089c103d9defb37264466aae68120dbf50ca4aec23cb48a75d3/africanelephantdatabasedatadownloader-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "e8b22deb8b02cd5257a96b1b5a67b7dd", "sha256": "06cc512fa1cada04916839b4ab94112986b67513c51d24a9cdd60c02647f7693" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "e8b22deb8b02cd5257a96b1b5a67b7dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 33490, "upload_time": "2019-06-18T10:53:55", "url": "https://files.pythonhosted.org/packages/ed/4a/3a2dc551ee10b6908ead18b030d1f743cd1e5719a1f59eb51f8e5cf735ac/africanelephantdatabasedatadownloader-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2266ab8852d45a641153aa56a5d3ab57", "sha256": "874139bfb0fe4d727e3a9f2ad5a5c60a9c9e2423836aedb991e0ded4865a4788" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2266ab8852d45a641153aa56a5d3ab57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36008, "upload_time": "2019-06-18T10:53:56", "url": "https://files.pythonhosted.org/packages/4e/7c/519a9ea6273fc006d16c3b920e762b399360714e409cb29ef9dd26daa08d/africanelephantdatabasedatadownloader-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8b22deb8b02cd5257a96b1b5a67b7dd", "sha256": "06cc512fa1cada04916839b4ab94112986b67513c51d24a9cdd60c02647f7693" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "e8b22deb8b02cd5257a96b1b5a67b7dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 33490, "upload_time": "2019-06-18T10:53:55", "url": "https://files.pythonhosted.org/packages/ed/4a/3a2dc551ee10b6908ead18b030d1f743cd1e5719a1f59eb51f8e5cf735ac/africanelephantdatabasedatadownloader-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2266ab8852d45a641153aa56a5d3ab57", "sha256": "874139bfb0fe4d727e3a9f2ad5a5c60a9c9e2423836aedb991e0ded4865a4788" }, "downloads": -1, "filename": "africanelephantdatabasedatadownloader-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2266ab8852d45a641153aa56a5d3ab57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36008, "upload_time": "2019-06-18T10:53:56", "url": "https://files.pythonhosted.org/packages/4e/7c/519a9ea6273fc006d16c3b920e762b399360714e409cb29ef9dd26daa08d/africanelephantdatabasedatadownloader-0.0.6.tar.gz" } ] }