proximityqol


Nameproximityqol JSON
Version 1.0 PyPI version JSON
download
home_pagehttps://github.com/ProvidenceAdu/qolproximity
Summarylibrary code execute various proximity analyses using ArcPy for qol proximity analyses
upload_time2024-07-18 00:51:17
maintainerNone
docs_urlNone
authorProvidence Adu,Ph.D.
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Note
This package requires 'arcpy' which is part of Esri's ArcGIS software and 
cannot be installed via pip. Please ensure you have ArcGIS installed and 
configured correctly. You can get arcpy if you install ArcGIS Pro

# Proximity Analysis with ArcPy for Urban Institute's Quality of Life Explorer

This package provides a Python class `proximity` tailored for analyzing spatial relationships in GIS, specifically designed for Urban Institute's Quality of Life explorer (QOL) spatial variables.

## Installation

Install `qolproximity` from PyPI using pip:

pip install qolproximity

## Usage

import qolproximity as qol

# Example usage for proximity to Pharmacy:
P = qol.proximity('TaxData2023', 'Pharmacy2024')

# Merge pharmacy data 
P.merge('Pharmacy', 'PharmacyUnmatched')

# Add a new field for residential proximity to pharmacy
P.addfield('ResNearPharmacy')

# Summarize the results
P.summarize('r', 'd', ProjectGDB)

# Export summarized results to a text file
P.exportcsv(path, 'QOL_46_2023.csv')

## Methods

__init__(self, tax_parcel_feature_class, proximity_feature_class): Initialize the proximity class with the tax parcel feature class and proximity feature class.

merge(self, *feature_classes_to_be_merged): Merge proximity feature classes from multiple sources into one feature class for analysis.

addfield(self, new_field_name): Add a new field to the tax parcel feature class.

summarize(self, near_residential_output_table, housing_units_table, geodatabase): Summarize residential units near the proximity feature class and export results to a geodatabase.

exporttxt(self, output_directory, final_txt_name): Export summarized results to a text file in the specified directory.

## License

This project is licensed under the MIT License - see the LICENSE file for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ProvidenceAdu/qolproximity",
    "name": "proximityqol",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Providence Adu,Ph.D.",
    "author_email": "padu@charlotte.edu",
    "download_url": "https://files.pythonhosted.org/packages/6c/c5/eaf6f593465415bbf53a1d87b969224270c4d458543d9f123321ec1327a2/proximityqol-1.0.tar.gz",
    "platform": null,
    "description": "\r\n# Note\r\nThis package requires 'arcpy' which is part of Esri's ArcGIS software and \r\ncannot be installed via pip. Please ensure you have ArcGIS installed and \r\nconfigured correctly. You can get arcpy if you install ArcGIS Pro\r\n\r\n# Proximity Analysis with ArcPy for Urban Institute's Quality of Life Explorer\r\n\r\nThis package provides a Python class `proximity` tailored for analyzing spatial relationships in GIS, specifically designed for Urban Institute's Quality of Life explorer (QOL) spatial variables.\r\n\r\n## Installation\r\n\r\nInstall `qolproximity` from PyPI using pip:\r\n\r\npip install qolproximity\r\n\r\n## Usage\r\n\r\nimport qolproximity as qol\r\n\r\n# Example usage for proximity to Pharmacy:\r\nP = qol.proximity('TaxData2023', 'Pharmacy2024')\r\n\r\n# Merge pharmacy data \r\nP.merge('Pharmacy', 'PharmacyUnmatched')\r\n\r\n# Add a new field for residential proximity to pharmacy\r\nP.addfield('ResNearPharmacy')\r\n\r\n# Summarize the results\r\nP.summarize('r', 'd', ProjectGDB)\r\n\r\n# Export summarized results to a text file\r\nP.exportcsv(path, 'QOL_46_2023.csv')\r\n\r\n## Methods\r\n\r\n__init__(self, tax_parcel_feature_class, proximity_feature_class): Initialize the proximity class with the tax parcel feature class and proximity feature class.\r\n\r\nmerge(self, *feature_classes_to_be_merged): Merge proximity feature classes from multiple sources into one feature class for analysis.\r\n\r\naddfield(self, new_field_name): Add a new field to the tax parcel feature class.\r\n\r\nsummarize(self, near_residential_output_table, housing_units_table, geodatabase): Summarize residential units near the proximity feature class and export results to a geodatabase.\r\n\r\nexporttxt(self, output_directory, final_txt_name): Export summarized results to a text file in the specified directory.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "library code execute various proximity analyses using ArcPy for qol proximity analyses",
    "version": "1.0",
    "project_urls": {
        "Homepage": "https://github.com/ProvidenceAdu/qolproximity"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e407b0eb6d6c02c55c7c5e4483391e555f67ed10fd986877cc246312a1720e1",
                "md5": "02e720ee6734326b3dcc54f3eea4fd32",
                "sha256": "5a435cbcad8c4d81772020f9cc38bc3ee5eb3dd3ee9e7793fe0e395013c311ca"
            },
            "downloads": -1,
            "filename": "proximityqol-1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "02e720ee6734326b3dcc54f3eea4fd32",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5786,
            "upload_time": "2024-07-18T00:51:15",
            "upload_time_iso_8601": "2024-07-18T00:51:15.803812Z",
            "url": "https://files.pythonhosted.org/packages/6e/40/7b0eb6d6c02c55c7c5e4483391e555f67ed10fd986877cc246312a1720e1/proximityqol-1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6cc5eaf6f593465415bbf53a1d87b969224270c4d458543d9f123321ec1327a2",
                "md5": "1e49f537e3e24705f78f21411ce818c4",
                "sha256": "19fe4f408a9a2fa6539c305bb0cdee99f6efb17be015dccd74d4e799fd8d4882"
            },
            "downloads": -1,
            "filename": "proximityqol-1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1e49f537e3e24705f78f21411ce818c4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4999,
            "upload_time": "2024-07-18T00:51:17",
            "upload_time_iso_8601": "2024-07-18T00:51:17.203857Z",
            "url": "https://files.pythonhosted.org/packages/6c/c5/eaf6f593465415bbf53a1d87b969224270c4d458543d9f123321ec1327a2/proximityqol-1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-18 00:51:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ProvidenceAdu",
    "github_project": "qolproximity",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "proximityqol"
}
        
Elapsed time: 0.37156s