Retrieve patent counts via PUG REST
Paul just added a PUG REST route to get the patent counts per year:
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/1234/PatentCountsByYear/CSV
... which should reduce download size and time immensely.
Let us know how it works! (also if you experience any timeout issues).
Literature still on the way...