Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.


Function: county_boundary
  Returns the boundary of the US county as a multipolygon. The state name is not case sensitive.
  The county boundary is identified by the state name (ie: WA) and county name (ie: Wahkiakum)
  or county FIPS code (ie: 11)


  county_boundary('WA', 'King')
  -- Result: "MULTIPOLYGON(...)"

  county_boundary('SD', 'Minnehaha')
  -- Result: "MULTIPOLYGON(...)"

  county_boundary('WA', 33)
  -- Result: "MULTIPOLYGON(...)"

  county_boundary('SD', 99)
  -- Result: "MULTIPOLYGON(...)"

text, c -> multipolygon