# Proximity Analysis with ArcPy
Perform spatial proximity analysis using ArcPy with ease. This package provides a Python class `proximity` tailored for analyzing spatial relationships in GIS data, specifically designed for Urban Institute's Quality of Life (QOL) spatial variables.
## Installation
Install `proximityui` from PyPI using pip:
pip install proximityui
## Usage
import proximityui as P
# Example usage:
prox_analysis = P.proximityui('TaxData2023', 'Pharmacy2024')
# Merge additional pharmacy data
prox_analysis.merge('Pharmacy', 'PharmacyUnmatched')
# Add a new field for residential proximity to pharmacy
prox_analysis.addfield('ResNearPharmacy')
# Summarize the results
prox_analysis.summarize('r', 'd', ProjectGDB)
# Export summarized results to a text file
prox_analysis.exporttxt(path, 'QOL_46_2023.txt')
## 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/ProximityUI",
"name": "proximityui",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "urban institute, python, QOL, quality of life explorer",
"author": "Providence Adu,Ph.D.",
"author_email": "padu@charlotte.edu",
"download_url": "https://files.pythonhosted.org/packages/71/c7/9070b1f7deebb2d416a78740c357a9e0c9676b72b47ceaab7d9f117632ff/proximityui-1.0.tar.gz",
"platform": null,
"description": "# Proximity Analysis with ArcPy\n\nPerform spatial proximity analysis using ArcPy with ease. This package provides a Python class `proximity` tailored for analyzing spatial relationships in GIS data, specifically designed for Urban Institute's Quality of Life (QOL) spatial variables.\n\n## Installation\n\nInstall `proximityui` from PyPI using pip:\n\npip install proximityui\n\n## Usage\n\nimport proximityui as P\n\n# Example usage:\nprox_analysis = P.proximityui('TaxData2023', 'Pharmacy2024')\n\n# Merge additional pharmacy data\nprox_analysis.merge('Pharmacy', 'PharmacyUnmatched')\n\n# Add a new field for residential proximity to pharmacy\nprox_analysis.addfield('ResNearPharmacy')\n\n# Summarize the results\nprox_analysis.summarize('r', 'd', ProjectGDB)\n\n# Export summarized results to a text file\nprox_analysis.exporttxt(path, 'QOL_46_2023.txt')\n\n## Methods\n\n__init__(self, tax_parcel_feature_class, proximity_feature_class): Initialize the proximity class with the tax parcel feature class and proximity feature class.\n\nmerge(self, *feature_classes_to_be_merged): Merge proximity feature classes from multiple sources into one feature class for analysis.\n\naddfield(self, new_field_name): Add a new field to the tax parcel feature class.\n\nsummarize(self, near_residential_output_table, housing_units_table, geodatabase): Summarize residential units near the proximity feature class and export results to a geodatabase.\n\nexporttxt(self, output_directory, final_txt_name): Export summarized results to a text file in the specified directory.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "library code execute various proximity analyses using ArcPy",
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/ProvidenceAdu/ProximityUI"
},
"split_keywords": [
"urban institute",
" python",
" qol",
" quality of life explorer"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "07b9fa992e56bf88f7c474e6635d0fceb60d569eedf231b8fe341c80f7b06082",
"md5": "2a31187f42536eb2a7d4e979aa6cd79b",
"sha256": "7868cc7c205c7a6518791cc1fa3e9247ab916d029469d16323b5d0b506da58d5"
},
"downloads": -1,
"filename": "proximityui-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2a31187f42536eb2a7d4e979aa6cd79b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2698,
"upload_time": "2024-07-16T21:53:22",
"upload_time_iso_8601": "2024-07-16T21:53:22.909928Z",
"url": "https://files.pythonhosted.org/packages/07/b9/fa992e56bf88f7c474e6635d0fceb60d569eedf231b8fe341c80f7b06082/proximityui-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "71c79070b1f7deebb2d416a78740c357a9e0c9676b72b47ceaab7d9f117632ff",
"md5": "757da1c716bb32978333977c17ce8c30",
"sha256": "57c8fc91a45321e23f08cd6711156cbecc93963b8510a5e00f52250429079f51"
},
"downloads": -1,
"filename": "proximityui-1.0.tar.gz",
"has_sig": false,
"md5_digest": "757da1c716bb32978333977c17ce8c30",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2470,
"upload_time": "2024-07-16T21:53:24",
"upload_time_iso_8601": "2024-07-16T21:53:24.104020Z",
"url": "https://files.pythonhosted.org/packages/71/c7/9070b1f7deebb2d416a78740c357a9e0c9676b72b47ceaab7d9f117632ff/proximityui-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-16 21:53:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ProvidenceAdu",
"github_project": "ProximityUI",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "proximityui"
}