*NOTE: as of March 28, 2022, I am unable to continue providing updates to this
package. While it should still work for the release years it was originally
written for, I cannot guarantee that. The code is freely available for
modification as needed for the years the package was written for, or
to add support for more recent years of data.*
This package is designed to provide easy access to the U.S. Census Bureau's
API (https://www.census.gov/developers/) in Python. It supports pulling data
from the American Community Survey (ACS) and the Census Summary File,
specifically:
* ACS 5-year estimates (2005-2009 to 2015-2019),
* ACS 1-year estimates (2012-2019),
* ACS 3-year estimates (2010-2012 to 2011-2013),
* ACS 1-year supplemental estimates (2014-2019),
* Census 2010 Summary File 1.
This package handles the details of interacting with the Census API for you,
so that you can focus on working with the data. It provides a class for
representing Census geographies. It also provides functions
for gaining further information about specific variables and tables and
for searching for variables. Full documentation is available at
https://jtleider.github.io/censusdata/.
The ACS (https://www.census.gov/programs-surveys/acs/)
started in 2005. It provides information on a wide range of social, economic,
demographic, and housing characteristics. Topics covered include
income, employment, health insurance, the age distribution, and education, among
many others. The ACS replaces the old Census long form, which used to be
distributed to a subset of households responding to the decennial Census.
The ACS produces survey-based period estimates. For instance, the
5-year 2011-2015 estimates are based on data collected during all 5 years.
They are not simply an aggregate of 1-year estimates, and overlapping
5-year estimates (e.g., 2008-2012 and 2011-2015) should *not* be compared.
The ACS provides margins of error to accompany all estimates. Margins of
error are smaller for estimates based on more years of data.
ACS 5-year estimates are the least current but provide the greatest precision
and are available for geographies of all sizes
(https://www.census.gov/programs-surveys/acs/guidance/estimates.html). By
contrast, 1-year estimates are the most current but the least precise and are
only available for geographies with populations of 65,000+.
In between are the 1-year supplemental estimates or, in past years, the
3-year estimates, both of which are for geographies with populations of
20,000+. The choice of which ACS estimates to use will depend on your needs
for current data vs. data for a variety of geographies with greater
precision.
The decennial Census counts every resident of the United States. The 2010
Census Summary File 1 provides information about each community's population,
including age, sex, and race distributions, as well as information
on households and families. (Summary File 2 provides additional data
for specific racial/ethnic groups.)
There are a number of facilities available for downloading Census
data, including American FactFinder, the ACS summary files,
and the Census DataFerrett. This package is designed to provide
the following features not available elsewhere:
* Easy download of specific variables across a variety of tables, downloading only the variables you need for the geographies of interest to you. This bypasses data processing hassles associated with working with other sources like the ACS Summary Files.
* Access to the exact variables of interest, with variable names making it easy to look up further information on the source tables or to pull up other years of data. This facilitates work by more technical users.
* Download data for multiple geographies at once, such as all counties in the United States, or all block groups in Illinois.
* Work with the data as a Pandas data frame, or export to CSV for analysis in other data analysis packages.
Raw data
{
"_id": null,
"home_page": "https://github.com/jtleider/censusdata",
"name": "CensusData",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "census",
"author": "Julien Leider",
"author_email": "jtleider@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/26/c1/5cdd3daea8df1d24fe0d59cf7cdb11a4ffea6c6c4230dcb125c28ea9d513/CensusData-1.15.post1.tar.gz",
"platform": null,
"description": "*NOTE: as of March 28, 2022, I am unable to continue providing updates to this\npackage. While it should still work for the release years it was originally\nwritten for, I cannot guarantee that. The code is freely available for\nmodification as needed for the years the package was written for, or\nto add support for more recent years of data.*\n\nThis package is designed to provide easy access to the U.S. Census Bureau's\nAPI (https://www.census.gov/developers/) in Python. It supports pulling data\nfrom the American Community Survey (ACS) and the Census Summary File,\nspecifically:\n\n* ACS 5-year estimates (2005-2009 to 2015-2019),\n* ACS 1-year estimates (2012-2019),\n* ACS 3-year estimates (2010-2012 to 2011-2013),\n* ACS 1-year supplemental estimates (2014-2019),\n* Census 2010 Summary File 1.\n\nThis package handles the details of interacting with the Census API for you,\nso that you can focus on working with the data. It provides a class for\nrepresenting Census geographies. It also provides functions\nfor gaining further information about specific variables and tables and\nfor searching for variables. Full documentation is available at\nhttps://jtleider.github.io/censusdata/.\n\nThe ACS (https://www.census.gov/programs-surveys/acs/)\nstarted in 2005. It provides information on a wide range of social, economic,\ndemographic, and housing characteristics. Topics covered include\nincome, employment, health insurance, the age distribution, and education, among\nmany others. The ACS replaces the old Census long form, which used to be\ndistributed to a subset of households responding to the decennial Census.\nThe ACS produces survey-based period estimates. For instance, the\n5-year 2011-2015 estimates are based on data collected during all 5 years.\nThey are not simply an aggregate of 1-year estimates, and overlapping\n5-year estimates (e.g., 2008-2012 and 2011-2015) should *not* be compared.\nThe ACS provides margins of error to accompany all estimates. Margins of\nerror are smaller for estimates based on more years of data.\n\nACS 5-year estimates are the least current but provide the greatest precision\nand are available for geographies of all sizes\n(https://www.census.gov/programs-surveys/acs/guidance/estimates.html). By\ncontrast, 1-year estimates are the most current but the least precise and are\nonly available for geographies with populations of 65,000+.\nIn between are the 1-year supplemental estimates or, in past years, the\n3-year estimates, both of which are for geographies with populations of\n20,000+. The choice of which ACS estimates to use will depend on your needs\nfor current data vs. data for a variety of geographies with greater\nprecision.\n\nThe decennial Census counts every resident of the United States. The 2010\nCensus Summary File 1 provides information about each community's population,\nincluding age, sex, and race distributions, as well as information\non households and families. (Summary File 2 provides additional data\nfor specific racial/ethnic groups.)\n\nThere are a number of facilities available for downloading Census\ndata, including American FactFinder, the ACS summary files,\nand the Census DataFerrett. This package is designed to provide\nthe following features not available elsewhere:\n\n* Easy download of specific variables across a variety of tables, downloading only the variables you need for the geographies of interest to you. This bypasses data processing hassles associated with working with other sources like the ACS Summary Files.\n* Access to the exact variables of interest, with variable names making it easy to look up further information on the source tables or to pull up other years of data. This facilitates work by more technical users.\n* Download data for multiple geographies at once, such as all counties in the United States, or all block groups in Illinois.\n* Work with the data as a Pandas data frame, or export to CSV for analysis in other data analysis packages.",
"bugtrack_url": null,
"license": "MIT",
"summary": "Download data from U.S. Census API",
"version": "1.15.post1",
"project_urls": {
"Homepage": "https://github.com/jtleider/censusdata"
},
"split_keywords": [
"census"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "26c15cdd3daea8df1d24fe0d59cf7cdb11a4ffea6c6c4230dcb125c28ea9d513",
"md5": "c1bcd2e135c22b90ac81943f17677c97",
"sha256": "408410b2942e0d2885a18a5b1cff85c283564fe0ae6c8bd65ddccee7e234d4fb"
},
"downloads": -1,
"filename": "CensusData-1.15.post1.tar.gz",
"has_sig": false,
"md5_digest": "c1bcd2e135c22b90ac81943f17677c97",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26610472,
"upload_time": "2022-03-28T23:03:14",
"upload_time_iso_8601": "2022-03-28T23:03:14.932694Z",
"url": "https://files.pythonhosted.org/packages/26/c1/5cdd3daea8df1d24fe0d59cf7cdb11a4ffea6c6c4230dcb125c28ea9d513/CensusData-1.15.post1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-03-28 23:03:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jtleider",
"github_project": "censusdata",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "censusdata"
}