Package: uszipcode
Welcome touszipcodeDocumentationAbout the DataThe Data pointInstallIf you are on www.pypi.org or www.github.com, this is not the complete document. Here is theComplete Document.If you are looking for technical support, click the badge below to join this gitter chat room and ask question to the author.uszipcodeis themost powerful and easy to use programmable zipcode databasein Python. It comes with a rich feature and easy-to-use zipcode search engine. And it is easy to customize the search behavior as you wish.About the DataDisclaimerI started from a academic research project for personal use. I don’t promise for data accuracy, please use with your own risk.Where the data comes from?The data is crawled from data.census.gov. There’s data tool allows you to explore 1300+ data points of a zipcode. You can play it yourself with this linkhttps://data.census.gov/cedsci/table?q=94103.Is this data set Up-to-Date?Even the data.census.gov use different source for different data fields. For example, the latest general population / income / education data by zipcode are still from Census2010. But population over time data are based from IRS until FY 2018.In general, static statistic data are from Census 2010. Demographic statistics over time has data utill 2020.How many Zipcode in this DatabaseThere are 42,724 zipcodes in this database. There are four different type zipcode:STANDARD: most common zipcodePO Box: for post officeUNIQUE: special location, usually a single buildingMILITARY: military locationNumber of zipcodes for each type:+--------------+-------+------------+
| zipcode_type | count | percentage |
+--------------+-------+------------+
|   STANDARD   | 30001 |   70.22    |
|    PO BOX    |  9397 |   21.99    |
|    UNIQUE    |  2539 |    5.94    |
|   MILITARY   |  787  |    1.84    |
+--------------+-------+------------+I found a Great data source, how to contribute?You can open anIssueand leave the URL of the data source, brief description about the dataset.The Data pointAddress, Postalzipcodezipcode_typemajor_citypost_office_citycommon_city_listcountystatearea_code_listGeographylatlngtimezoneradius_in_milesland_area_in_sqmiwater_area_in_sqmibounds_westbounds_eastbounds_northbounds_southborder polygonStats and Demographicspopulationpopulation_densitypopulation_by_yearpopulation_by_agepopulation_by_genderpopulation_by_racehead_of_household_by_agefamilies_vs_singleshouseholds_with_kidschildren_by_ageReal Estate and Housinghousing_unitsoccupied_housing_unitsmedian_home_valuemedian_household_incomehousing_typeyear_housing_was_builthousing_occupancyvacancy_reasonowner_occupied_home_valuesrental_properties_by_number_of_roomsmonthly_rent_including_utilities_studio_aptmonthly_rent_including_utilities_1_bmonthly_rent_including_utilities_2_bmonthly_rent_including_utilities_3plus_bEmployment, Income, Earnings, and Workemployment_statusaverage_household_income_over_timehousehold_incomeannual_individual_earningssources_of_household_income____percent_of_households_receiving_incomesources_of_household_income____average_income_per_household_by_income_sourcehousehold_investment_income____percent_of_households_receiving_investment_incomehousehold_investment_income____average_income_per_household_by_income_sourcehousehold_retirement_income____percent_of_households_receiving_retirement_incomhousehold_retirement_income____average_income_per_household_by_income_sourcesource_of_earningsmeans_of_transportation_to_work_for_workers_16_and_overtravel_time_to_work_in_minutesEducationeducational_attainment_for_population_25_and_overschool_enrollment_age_3_to_17Installuszipcodeis released on PyPI, so all you need is:$pipinstalluszipcodeTo upgrade to latest version:$pipinstall--upgradeuszipcode