"isn't the folklore that John Gay's The Beggar's Opera [1728] was instrumental in bringing Horace Walpole down?"
Christopher Hill discusses The Beggar's Opera in the context of the repression and radicalisation of the poor at some length in his seminal work, 'Liberty Against the Law'.