There is a RESTful API for each discourse installation. Don’t know where documentation is, but just peaked through their ruby gem at https://github.com/discourse/discourse_api to find out endpoints, auth details, etc.
R client here https://github.com/sckott/discgolf
I see this as prob. only useful for if we want to gather stats on discussions for reporting.
BUT - maybe we can post questions to this forum from R directly via the API? So if there’s a bunch of code, you don’t have to do a copy/paste thing, but submit directly.