{
  "geography": {
    "id": "us_county",
    "label": "United States counties",
    "urlPrefix": "us-county",
    "scope": "United States",
    "feature": "Counties",
    "ogIllustration": "us_county_og.png",
    "dataPreparation": {
      "recommended": {
        "header": "FIPS",
        "examples": ["13001", "45001", "37001"],
        "note": "Use five-digit county FIPS codes for the most reliable nationwide match."
      },
      "alternatives": [
        {
          "header": "County, ST",
          "examples": ["Appling County, GA", "Abbeville County, SC", "Alamance County, NC"],
          "note": "Put the county name and two-letter state abbreviation together in one cell."
        },
        {
          "header": "County State Name",
          "examples": ["Appling County, Georgia", "Abbeville County, South Carolina", "Alamance County, North Carolina"],
          "note": "Full state names are also supported when county and state are combined in one cell."
        }
      ],
      "note": "Do not use a County column by itself for the nationwide map because many county names occur in more than one state. When mapping one state's counties, include state context or use FIPS, then zoom to the area represented by your data."
    },
    "appConfig": {
      "boundaryFile": "us_bndry.json",
      "polygonsFile": "us_county_poly.json",
      "lookupFile": "us_county_lookup.csv"
    }
  },
  "join": {
    "primary": {
      "type": "fips5",
      "csv_lookup": "GEOID",
      "GeoJSON_feature": "GEOID",
      "aliases": ["FIPS", "FIPS5", "GEOID", "geoid", "CountyFIPS", "County FIPS", "STCNTYFIPS"],
      "normalize": { "digits": true, "pad": 5 }
    },
    "labels": {
      "titleFormat": "none",
      "reportTextOverride": "County",
      "featureSingularOverride": "County",
      "featurePluralOverride": "Counties"
    },


    "crosswalks": [
      {
        "fromType": "county_ns",
        "toType": "fips5",
        "lookupColumns": { "from": "COUNTYNS", "to": "GEOID" },
        "aliases": [
          "COUNTYNS",
          "CountyNS",
          "County NS",
          "County GNIS",
          "County GNIS ID",
          "GNIS",
          "GNIS_ID",
          "GNISID",
          "GNIS Feature ID",
          "Feature ID",
          "FeatureID",
          "Census Feature ID",
          "ANSI"
        ],
        "normalize": {
          "digits": true,
          "pad": 8
        }
      },
      {
        "fromType": "affgeoid",
        "toType": "fips5",
        "lookupColumns": { "from": "AFFGEOID", "to": "GEOID" },
        "aliases": [
          "AFFGEOID",
          "Full GEOID",
          "Census GEOID",
          "GEO_ID"
        ],
        "normalize": {
          "case": "upper",
          "substring": { "start": -5 }
        }
      },
      {
        "fromType": "county|stateabbv",
        "toType": "fips5",
        "lookupColumns": { "from": "county_state_abbr_key", "to": "GEOID" },
        "aliases": [
          "CountyStateAbbv",
          "CountyStateAbbr",
          "County State Abbv",
          "County State Abbr",
          "County, State",
          "County, ST",
          "County ST",
          "County + State",
          "CountyState"
        ],
        "normalize": {
          "trim": true,
          "case": "lower",
          "strip_punct": false,
          "strip_suffixes": [" county"],
          "split": {
            "delimiter": ",",
            "take": ["left", "right"],
            "trim_parts": true
          },
          "compose": {
            "template": "{left}|{right}"
          }
        }
      },
      {
        "fromType": "county|statename",
        "toType": "fips5",
        "lookupColumns": { "from": "county_state_name_key", "to": "GEOID" },
        "aliases": [
          "CountyState",
          "County, State",
          "County State",
          "CountyStateName",
          "County, State Name",
          "County State Name",
          "County,StateNAME"
        ],
        "normalize": {
          "trim": true,
          "case": "lower",
          "strip_suffixes": [" county"],
          "split": { "delimiter": ",", "take": ["left", "right"], "trim_parts": true },
          "compose": { "template": "{left}|{right}" }
        }
      }
    ],

    "lookupCsv": {
      "columns": {
        "id": "GEOID",
        "name": "CountyStateAbbv",
        "lat": "Latitude",
        "lng": "Longitude"
      }
    },
    "logo": {
      "enabled": true,
      "padX": 0.07,
      "padY": 0.20,

      "sizePct": 0.18,
      "minPx": 44,
      "maxPx": 110,

      "boundsWidthPct": 0.20,
      "boundsMinPx": 36,

      "opacity": 0.95,
      "zIndex": 1000,

      "iconUrl": null,
      "title": "CU Ag Tech",
      "linkUrl": "https://cuagtech.com/"
    }
  },
  "display": {
    "dataLabels": {
      "minZoom": 7.5,
      "viewportOnly": true,
      "maxVisibleLabels": 200
    },
    "surface": {
      "maxResolution": 250
    },
    "boundaries": {
      "mobileBreakpointPx": 640,
      "smoothFactor": 0,
      "polygons": {
        "mobileWeight": 0.35
      },
      "surface": {
        "mobileWeight": 0.5
      }
    }
  }
}
