USPC to CPC Statistical Concordance Table

The USPC to CPC statistical concordance table is available on the USPTO website:http://www.uspto.gov/web/patents/classification/index.htm
The only problem is that it’s nearly impossible to download all the tables because they are all on separate pages, and unfortunately my request for a CSV file has been unanswered. Here is a web-scraping python script to download all the tables for all USPC and create a CSV file. The script is available here and requires the BeautifulSoup library:
https://dl.dropbox.com/u/45852891/UPC-CPCconcordance1000.py
The parsed CSV file is available here:
https://dl.dropbox.com/u/45852891/uspc-cpc.csv
The CSV includes the first 5 related CPC codes as columns and can be opened in excel or imported into a database.
Cheers!

3 Comments on USPC to CPC Statistical Concordance Table

  1. Script needs modification because it skips pages with uspc codes<100 (as pages for these codes have leading 0s in URLs)

  2. Looks like replaceing “str(i)” with “str(i).zfill(3)” in line 10 corrects it

Leave a comment

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.