qolagg


Nameqolagg JSON
Version 1.5 PyPI version JSON
download
home_pagehttps://github.com/ProvidenceAdu/qolagg
SummaryThis library code execute aggregate analysis for the Quality of Life Exporer variables
upload_time2024-07-18 19:34:08
maintainerNone
docs_urlNone
authorProvidence Adu,Ph.D.
requires_pythonNone
licenseNone
keywords urban institute python mecklenburg county quality of life explorer aggregate npa
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Aggregate Data Analysis with ArcPy

This package provides a Python class `aggregate` tailored for analyzing and aggregating spatial data using ArcPy. The class is designed for Urban Institute's Quality of Life (QOL) variables, offering methods for merging, spatial joining, and exporting data to CSV files.

## Installation

Install `aggregate` from PyPI using pip:


pip install aggqol

# Usage

import aggqol as ag

A = ag.aggregate('Banks')

A.withinNPA('NPA','BanksNPA')

A = ag.aggregate('CreditUnion')

A.withNPAID('NPA', 'CreditNPAID')

## Methods

Methods
`__init__(self, InFeatureClass)`

Initialize the aggregate class with the input feature class.

`merge(self, *FeatureClassesToBeMerged)`

Combine feature classes from multiple sources into one feature class for analysis.

`withinNPA(self, NPA, OutputName)`

Aggregate all points feature classes that are completely contained by an NPA polygon.

`withNPAID(self, NPA, OutputName)`
Assign NPA ID to all point feature classes that are completely within an NPA.

`exportcsv(self, OutputDirectory, PopulationFile, PopulationColumn, FileName)`

Export the results to a CSV file, joining population data and calculating summary statistics.

## Additonal Information

- The aggregate class is initialized with one argument ( Point feature classes ).This class has two methods:
    - The *withinNPA* method: This method aggregates point features classes that are completely contained by each NPA 
      The withinNPA method takes two arguments: 
       - NPA feature class
       - Name of output feature class
        
    - The *withNPAID* method: This method assign NPA IDs to point feature classes that are completely within each NPA
       - NPA feature class 
       - Name of output feature class

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/qolagg",
    "name": "qolagg",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "urban institute, python, Mecklenburg County, quality of life explorer, aggregate, NPA",
    "author": "Providence Adu,Ph.D.",
    "author_email": "<padu@charlotte.edu>",
    "download_url": "https://files.pythonhosted.org/packages/f0/52/d0daebc6e0b3d2c063f766506ecd8fa4092f9f44c9e868e47710417c8d57/qolagg-1.5.tar.gz",
    "platform": null,
    "description": "\n# Aggregate Data Analysis with ArcPy\n\nThis package provides a Python class `aggregate` tailored for analyzing and aggregating spatial data using ArcPy. The class is designed for Urban Institute's Quality of Life (QOL) variables, offering methods for merging, spatial joining, and exporting data to CSV files.\n\n## Installation\n\nInstall `aggregate` from PyPI using pip:\n\n\npip install aggqol\n\n# Usage\n\nimport aggqol as ag\n\nA = ag.aggregate('Banks')\n\nA.withinNPA('NPA','BanksNPA')\n\nA = ag.aggregate('CreditUnion')\n\nA.withNPAID('NPA', 'CreditNPAID')\n\n## Methods\n\nMethods\n`__init__(self, InFeatureClass)`\n\nInitialize the aggregate class with the input feature class.\n\n`merge(self, *FeatureClassesToBeMerged)`\n\nCombine feature classes from multiple sources into one feature class for analysis.\n\n`withinNPA(self, NPA, OutputName)`\n\nAggregate all points feature classes that are completely contained by an NPA polygon.\n\n`withNPAID(self, NPA, OutputName)`\nAssign NPA ID to all point feature classes that are completely within an NPA.\n\n`exportcsv(self, OutputDirectory, PopulationFile, PopulationColumn, FileName)`\n\nExport the results to a CSV file, joining population data and calculating summary statistics.\n\n## Additonal Information\n\n- The aggregate class is initialized with one argument ( Point feature classes ).This class has two methods:\n    - The *withinNPA* method: This method aggregates point features classes that are completely contained by each NPA \n      The withinNPA method takes two arguments: \n       - NPA feature class\n       - Name of output feature class\n        \n    - The *withNPAID* method: This method assign NPA IDs to point feature classes that are completely within each NPA\n       - NPA feature class \n       - Name of output feature class\n\nLicense\nThis project is licensed under the MIT License - see the LICENSE file for details.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This library code execute aggregate analysis for the Quality of Life Exporer variables",
    "version": "1.5",
    "project_urls": {
        "Homepage": "https://github.com/ProvidenceAdu/qolagg"
    },
    "split_keywords": [
        "urban institute",
        " python",
        " mecklenburg county",
        " quality of life explorer",
        " aggregate",
        " npa"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f972babfced1bf849bdf2065c76f11a11261ed38ad70168d4a52e151c140936b",
                "md5": "6aa03efa6b91fc369b821cf11e66eeea",
                "sha256": "1a2a01e5629e07b9d530b7af396d6193033d320090ff13b8977e3690236b022c"
            },
            "downloads": -1,
            "filename": "qolagg-1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6aa03efa6b91fc369b821cf11e66eeea",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4623,
            "upload_time": "2024-07-18T19:34:05",
            "upload_time_iso_8601": "2024-07-18T19:34:05.249584Z",
            "url": "https://files.pythonhosted.org/packages/f9/72/babfced1bf849bdf2065c76f11a11261ed38ad70168d4a52e151c140936b/qolagg-1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f052d0daebc6e0b3d2c063f766506ecd8fa4092f9f44c9e868e47710417c8d57",
                "md5": "c515af222dc3b3d76cecb5b87d3ddc04",
                "sha256": "f90887bbde20aa482146e2d64ead6f10ecc0307214dfe90eea2c0fa88e0e45f6"
            },
            "downloads": -1,
            "filename": "qolagg-1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c515af222dc3b3d76cecb5b87d3ddc04",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3892,
            "upload_time": "2024-07-18T19:34:08",
            "upload_time_iso_8601": "2024-07-18T19:34:08.157716Z",
            "url": "https://files.pythonhosted.org/packages/f0/52/d0daebc6e0b3d2c063f766506ecd8fa4092f9f44c9e868e47710417c8d57/qolagg-1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-18 19:34:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ProvidenceAdu",
    "github_project": "qolagg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "qolagg"
}
        
Elapsed time: 0.50870s