Skip to main content

Bayesian Improved First-Firstname Surname Geocoding

Project description

bifsg

Bayesian Improved First-Firstname Surname Geocoding (BIFSG) Python package.

This package is a realization of the Bayesian Improved First Name Surname Geocoding (BIFSG) method published by Ioan Voicu, U.S Department of Treaury, Office of the Comptroller of the Currency. https://doi.org/10.1080/2330443X.2018.1427012

Census tract - https://www.ffiec.gov/censusapp.htm Source: FFIEC Census Flat Files 2020 The FFIEC Census flat files are a convenient method of accessing and analyzing the FFIEC census data that are used to create the HMDA and CRA Aggregate and Disclosure Reports. They contain over 1,000 fields of census data and are updated annually to reflect changes to MSA/MD boundaries announced by the Office of Management and Budget (OMB) and CRA Distressed/Underserved Census Tracts as announced by the Federal banking regulatory agencies.

Surnames - https://www.census.gov/topics/population/genealogy/data/2010_surnames.html Source: Frequently Occurring Surnames from the 2010 Census

First Names - https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/TYJKEZ Source: Data for: Demographic aspects of first names The list includes 4,250 first names and information on their respective count and proportions across six mutually exclusive racial and Hispanic origin groups. These six categories are consistent with the categories used in the Census Bureau's surname list. (2017-11-14) Author: Tzioumis, Konstantinos (Office of the Comptroller of the Currency)

Installation

pip install bifsg

CENSUS_API_KEY=<your-key>

from bifsg import BIFSG

b = BIFSG(
    census_api_key=CENSUS_API_KEY,
    one_line_address="1600 Pennsylvania Ave NW, Washington, DC 20500",
    surname="Smith",
    firstname="Alice"
)
print(b.BIFSG_predict())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bifsg-0.1.1.tar.gz (20.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bifsg-0.1.1-py3-none-any.whl (20.6 MB view details)

Uploaded Python 3

File details

Details for the file bifsg-0.1.1.tar.gz.

File metadata

  • Download URL: bifsg-0.1.1.tar.gz
  • Upload date:
  • Size: 20.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for bifsg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bf32633c0fa30c7433e98ff69fa14f89ad1f54cc0838ff113f7a7b5d74f1fc41
MD5 c9b8197958f2e3571bdcbc84d4aee30c
BLAKE2b-256 00249e0ed4997517788d4c9be0019ca7497b30312260eabf9fd015dd8f695c56

See more details on using hashes here.

File details

Details for the file bifsg-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bifsg-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for bifsg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 995f5208b6959aea8dfe23e9b7c7b642608aa5da29b1f5efb2dfedd955740732
MD5 b198ef3d52de7b4299fcbcb4ad8e8ca6
BLAKE2b-256 979ae5ee979b519256c3e02cd2ea3ee0988c71eb835b3da73b574fb71b64eba2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page