compass.utilities.location.County#

class County(name, state, fips=None, is_parish=False)[source]#

Bases: Location

Class representing a county

Parameters:
  • name (str) – Name of the county.

  • state (str) – State containing the county.

  • fips (int or str, optional) – Optional county FIPS code. By default, None.

  • is_parish (bool, optional) – Flag indicating whether or not this county is classified as a parish. By default, False.

Methods

Attributes

full_name

Full county name in format '{name} County, {state}'

property full_name#

Full county name in format ‘{name} County, {state}’

Type:

str