Have had another go at trying to get #Copilot to write me some #Rstats code that will work with the new ONS API. A very frustrating process that ended, again, in failure. I don't know why the ONS changed things. But I suspect the end result is fewer people can download the data.
@keefeglise Claude Opus can be pretty good at writing R code for APIs. I don't know if this works at all for you? (I basically just copied some of the API documentation and asked it to write R code to access info for that API. It looks like it returns something, but I don't know if it's what you want, and I need to go deal with dinner 😅 ) https://claude.ai/public/artifacts/e5c482c1-e165-4c9c-a7e3-5edd92b5aa25
There is a #Rstats package called 'pdfetch' that worked perfectly with the previous version, allowing complete muppets like me to pull the data. But it broke.