Functional Analysis of Local Law Enforcement Agencies