Geographical Region Names

Country names, and names for US countries, metros, cities and states.

civicknowledge.com-geonames-2022-1.2.43. Modified 2023-02-23T18:37:42

Resources | Packages | Documentation| Contacts| References| Data Dictionary

Resources

Documentation

Contacts

Data Dictionary

names

names

Column NameData TypeDescription
refstring
geoidstring
categorystring
weightinteger
nametext

References

Urls used in the creation of this data package.

  • country_codes. Country codes, from https://datahub.io/core/country-codes
  • censusgeo://2022/5/US/state.
  • censusgeo://2020/5/US/CBSA.
  • censusgeo://2022/5/US/county.
  • censusgeo://2020/5/{}/place.

Packages

Accessing Data in Vanilla Pandas

import pandas as pd


names_df =  pd.read_csv('https://library.metatab.org/civicknowledge.com-geonames-2022-1.2.43/data/names.csv')

Accessing Package in Metapack

import metapack as mp
pkg = mp.open_package('https://library.metatab.org/civicknowledge.com-geonames-2022-1.2.43.csv')

# Create Dataframes
names_df = pkg.resource('names').dataframe()