# 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": "qolproximity",
"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/5d/fa/45bbfef5ae63c3aa3b6d8e5942c91b2182bdb30c8f674660c9073506fc6c/qolproximity-1.4.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.4",
"project_urls": {
"Homepage": "https://github.com/ProvidenceAdu/qolproximity"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9492e45c3ccd5a79639d59974f4310edeacaf34bed3c5a96721f518f9c0480e2",
"md5": "fca3042ec9b05b58d468cbe7b3d8d7f8",
"sha256": "073f5271b5a2aa05a8a1e0bb8aa6a4ef49b329e895e4fbdfbc5590a88e6de83d"
},
"downloads": -1,
"filename": "qolproximity-1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fca3042ec9b05b58d468cbe7b3d8d7f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5783,
"upload_time": "2024-07-18T01:28:08",
"upload_time_iso_8601": "2024-07-18T01:28:08.083543Z",
"url": "https://files.pythonhosted.org/packages/94/92/e45c3ccd5a79639d59974f4310edeacaf34bed3c5a96721f518f9c0480e2/qolproximity-1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5dfa45bbfef5ae63c3aa3b6d8e5942c91b2182bdb30c8f674660c9073506fc6c",
"md5": "88b60fd3666cce64d82c0c9ec7cf32eb",
"sha256": "534b8d62135ea9ac0678515c1c694ca55690904dbc2384d888fe8b92a63c9e39"
},
"downloads": -1,
"filename": "qolproximity-1.4.tar.gz",
"has_sig": false,
"md5_digest": "88b60fd3666cce64d82c0c9ec7cf32eb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4976,
"upload_time": "2024-07-18T01:28:09",
"upload_time_iso_8601": "2024-07-18T01:28:09.480323Z",
"url": "https://files.pythonhosted.org/packages/5d/fa/45bbfef5ae63c3aa3b6d8e5942c91b2182bdb30c8f674660c9073506fc6c/qolproximity-1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-18 01:28:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ProvidenceAdu",
"github_project": "qolproximity",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "qolproximity"
}