Using data to influence, manage and reduce restrictive practices