The Thin Blue Line (1966)
The Thin Blue Line was the second of three documentaries William Friedkin made for producer David Wolper. It focused on the police force, and the experience making it influenced Friedkin on The French Connection.
More at Wikipedia.