code4nova / nsfpatents Goto Github PK
View Code? Open in Web Editor NEWScript to pull down, parse and generate data on patents and patent applications resulting from NSF funding
License: Apache License 2.0
Script to pull down, parse and generate data on patents and patent applications resulting from NSF funding
License: Apache License 2.0
To minimize the impact of the somewhat flakey connection to the Reed Tech PTO download site, users should be able to use a command-line argument to specify download from Google instead:
processFile.rb ... google ...
or
processFile.rb ... reedtech ...
The default download site should be set to the more reliable site for most users.
partial_year, month, day = /^...(\d\d)(\d\d)(\d\d)\./.match(filename)[1]
does not actually set month or day variables.
In a previous commit, processFile.rb
was peppered with #gsub
calls to convert newlines in extracted text to spaces. The possibility of newlines in the extracts has two implications:
An example of a multi-line extract is the xref
field of the second grant extracted from ipg140107
(see lines 2509-2530 of ipg140107.extract
), though others are likely to exist.
@ahirschberg You know what to do...
It is desirable to easily process all files in a time span with a single command. Perhaps the structure of this new code will lend itself to processing files based on arbitrary criteria.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.