GithubHelp home page GithubHelp logo

get-patents's Introduction

Download US patent grant texts from Google patents

The function download_patent_files.m goes to the bulk download page of Google patents and downloads the Patent Grant Full Texts. The following table shows the rough size of the files:

Years Format Size (unzipped)
1976-2001 .txt 98 GB
2002-2015 .XML, .xml 238 GB

The files for 2001 are available in both formats and I choose the .txt format here.

To use these codes, first define the name of the directory that will hold the files (path to data) and the start and end year, run:

>>parent_dname = 'patent_data';
>>year_start = 1976;
>>year_start = 2015;

Then to download the files from Google Patents (careful โ—, these are 300 GB), run:

>>download_patent_files(year_start, year_end, parent_dname)

It puts the unzipped data files into subdirectories /[year].

Then to unzip all files and delete zipped files, run:

>>unzip_patent_files(year_start, year_end, parent_dname)

Finally, in directory /1976 you should see:

$ls
pftaps19760106_wk01.txt
pftaps19760106_wk02.txt
pftaps19760106_wk03.txt
...

And in directory /2014 you should see:

$ls
ipg140107.xml
ipg140114.xml
ipg140121.xml
...

get-patents's People

Contributors

lpuettmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.