{ "info": { "author": "Neil Freeman", "author_email": "contact@fakeisthenewreal.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database" ], "description": "census2dbf\n==========\n\nConverts .csv files downloaded from the `Census\nFactfinder `__ into the legacy\n`DBF `__ format, which is useful for\nGIS applications. Census2dbf is a standalone command line tool with no\nrequirements.\n\nInstall\n-------\n\n::\n\n pip install census2dbf\n\nUsage\n-----\n\nOn the shell:\n\n::\n\n $ census2dbf path/to/census.csv --output=/path/of/saved.dbf\n path/of/saved.dbf\n\nThe ``--output`` argument is optional. If it's omitted, a file with the\nsame name but a .dbf extension will be saved in the same folder. E.g.\n``census-file.csv`` will be converted to a new file named\n``census-file.dbf``\n\nOptions\n~~~~~~~\n\n``--dd``: Data dictionary\n^^^^^^^^^^^^^^^^^^^^^^^^^\n\nUse the ``--dd`` option to generate a data dictionary from the headers\nof the census file. The data dictionary will be saved to the same folder\nas the output dbf, with a similar name.\n\nAlthough Census data files usually come with a data dictionary,\n``census2dbf`` will sometimes rewrite fieldnames to avoid duplicates.\nThe data dictionary will match the\n\n::\n\n $ census2dbf --dd tests/data/ACS_13_5YR_S0802_with_ann.csv\n tests/data/ACS_13_5YR_S0802_with_ann.dbf\n tests/data/ACS_13_5YR_S0802_with_ann-data-dictionary.txt\n $ head tests/data/ACS_13_5YR_S0802_with_ann-data-dictionary.txt\n Data Dictionary\n Automatically extracted from the header of tests/data/ACS_13_5YR_S0802_with_ann.csv\n 2015-03-18 15:09\n GEO.id Id\n ...\n\n``--include-cols``: Filter out columns\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nPass the ``--include-cols`` or ``-i`` option a comma-delimited list of\ncolumn names to output only those columns. This option is\ncase-insensitive.\n\n::\n\n $ census2dbf --include-cols geo.id,GEO.id,GEO.id2,HD02_S21 path/to/census.csv", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fitnr/census2dbf", "keywords": "GIS DBF Census", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "census2dbf", "package_url": "https://pypi.org/project/census2dbf/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/census2dbf/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/fitnr/census2dbf" }, "release_url": "https://pypi.org/project/census2dbf/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Convert US Census CSV files into DBFs", "version": "0.2.0" }, "last_serial": 1467926, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "7cd6d490661662b5ea25489ac81c87dd", "sha256": "27558c7040937c0dd634809714b65b2502293bbbb68b2a227d9095ff8f2c55e9" }, "downloads": -1, "filename": "census2dbf-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7cd6d490661662b5ea25489ac81c87dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6503, "upload_time": "2015-03-19T02:24:18", "url": "https://files.pythonhosted.org/packages/9a/5f/65e987faf62853fe9112ca9f51dccba32dd347fdf2796ff0ed40abf47d22/census2dbf-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7cd6d490661662b5ea25489ac81c87dd", "sha256": "27558c7040937c0dd634809714b65b2502293bbbb68b2a227d9095ff8f2c55e9" }, "downloads": -1, "filename": "census2dbf-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7cd6d490661662b5ea25489ac81c87dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6503, "upload_time": "2015-03-19T02:24:18", "url": "https://files.pythonhosted.org/packages/9a/5f/65e987faf62853fe9112ca9f51dccba32dd347fdf2796ff0ed40abf47d22/census2dbf-0.2.0.tar.gz" } ] }