A volunteer cleans up needles used for drug injection that were found at a homeless encampment in Everett, Wash., in November. Respondents in a Federal Reserve survey who knew someone who had been addicted to opioids were less likely to give the economy a favorable rating.