Patent Data
The Patent Data page is for instructions on how to get the USPTO patent data, how to use the database, and for the documentation of our database.
ER diagram
See ER Diagram
Downloading the files
The files (in xml format) for granted patent data can be obtained at granted patent
The files for patent application data can be obtained at patent applications
The files for maintenance fees data can be obtained at maintenance
Scripts are available to perform a bulk download of all the above files:
Script to download patent application data from 2001-2004
Script to download patent application data from 2005-2015
Script to download patent grant data from 1976-2000
Script to download patent grant data from 2001-2004
Script to download patent grant data from 2005-2015
To use the scripts, save the scripts as shell scripts, then either
~ leodu$ sh Applications_download_2001-2004.sh
or first change the script to an executable and execute it
~ leodu$ chmod a+x Applications_download_2001-2004.sh ~ leodu$ ./Applications_download_2001-2004.sh
Notice there will be several hundreds of .zip files of size ~100mb getting downloaded so the process might take a while. When all the files are downloaded, unzip all of them using
~ leodu$ unzip *.zip
XML Schema Notes
Tags we are using:
- CPC Classification: https://en.wikipedia.org/wiki/Cooperative_Patent_Classification
Tags we aren't using:
Other Resources
Documentations for the xml files
How to install XML::Simple
Open up CPAN shell:
leodu$ perl -e shell -MCPAN
Install:
cpan[3]> install XML::Simple cpan[3]> install Try::Tiny