patents | Includes applications | Data Visualization library
kandi X-RAY | patents Summary
kandi X-RAY | patents Summary
Parse and cluster USPTO patent data. Includes applications, grants, assignments, and maintenance.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse the grant generation .
- Parse a Grant3 grant 3 .
- Parse a single file .
- Generates a list of firm - years .
- Parse Grant generation .
- Parse the apply2 .
- Parse application .
- find matches between two names
- Build a patent stocks .
- Find firm statistics .
patents Key Features
patents Examples and Code Snippets
function opFromJSON(json) {
if (!json || !json.__op) {
return null;
}
switch (json.__op) {
case 'Delete':
return new UnsetOp();
case 'Increment':
return new IncrementOp(json.amount);
case 'Add':
return new AddO
function equals(a, b) {
if ((typeof a === 'undefined' ? 'undefined' : (0, _typeof3.default)(a)) !== (typeof b === 'undefined' ? 'undefined' : (0, _typeof3.default)(b))) {
return false;
}
if (!a || (typeof a === 'undefined' ? 'undefined' :
function send(data, options) {
options = options || {};
if (data.where && data.where instanceof _ParseQuery2.default) {
data.where = data.where.toJSON().where;
}
if (data.push_time && (0, _typeof3.default)(data.push_time
Community Discussions
Trending Discussions on patents
QUESTION
I'm using Google Patents Public Dataset to extract patent information about pesticides using the CPC code "A01N" PRESERVATION OF BODIES OF HUMANS OR ANIMALS OR PLANTS OR PARTS THEREOF
But while I run the following Query, I don't obtain all the results as If I run a non-unnest query. See both below
...ANSWER
Answered 2021-May-31 at 17:07Some of the rows in the columns that you are UNNEST
ing are empty arrays. When you do the implicit CROSS JOIN
, you're joining on a NULL
which gives you no results, so some of those rows disappear and your count is lower. If you start commenting out some of those CROSS JOIN
s you'll see your count start to go up. Since you're not actually using those columns, you should remove them from your query. If you want them later, get the counts first, and then LEFT JOIN
on something like 1=1
.
QUESTION
This question is an extension of this question. Euclidean distant for distinct classes of factors iterated by groups
The same explanations from the previous question apply here as well. I want to calculate the Euclidean distance between consecutive years for each firm based on patent classes according to the following formula:
Where Xi represents the number of patents belonging to a specific class in year t, and Yi represents the number of patents belonging to a specific class in the previous year (t-1).
The difference here is that I want to add another assumption: If a year/some years is/are missing in between, I want to implement the assumption that the firm has been active in the same patent classes as the latest non-missing year. For example, in the following dataset:
...ANSWER
Answered 2021-Apr-29 at 20:59The expansion can be done as
QUESTION
*Update: The answer suggested by Rui is great and works as it should. However, when I run it on about 7 million observations (my actual dataset), R gets stuck in a computational block (I'm using a machine with 64gb of RAM). Any other solutions are greatly appreciated!
I have a dataframe of patents consisting of the firms, application years, patent number, and patent classes. I want to calculate the Euclidean distance between consecutive years for each firm based on patent classes according to the following formula:
Where Xi represents the number of patents belonging to a specific class in year t, and Yi represents the number of patents belonging to a specific class in the previous year (t-1).
To further illustrate this, consider the following dataset:
...ANSWER
Answered 2021-Apr-28 at 06:14I believe that the function below does what the question asks for, but the results for Firm == "B"
are not equal to the question's.
QUESTION
I'm sending express response using Nodejs script. In this, I m sending HTML text as a response and also setting href
values of the anchor tag, but I m not able to see it on the client side. while I m able to see it on the innerHTML
of the tag.
I m focusing on the issue as you can see in the below line of code. (Below are the two lines in my code in which I m facing the issue of adding/appending href values.)
...ANSWER
Answered 2021-Apr-28 at 05:22In both statements you wrote, you misplaced small quotes.
Try below:
QUESTION
I am not a conan expert, so maybe there is an obvious solution for this. But it can't be trivial since I am struggling with this for a while and can't find a solution.
We need parquet for our project, we include this via the conan arrow package like this, conanfile.txt:
...ANSWER
Answered 2021-Apr-23 at 12:45The obvious recommendation: Update Conan to the latest version (1.35.1).
QUESTION
I wanted to achieve a sorted result set where the terms starting the searched term in the autosuggest appear at the top followed by the ones that 'contain' it somewhetre in text: For Eg: search term: advocate results :
advocate x
advocate Yx
some advocate
My result set howvere is giving more score for results that contain that term then the ones tha 'begin with' it.How do I mend this:
Mapping,js:
...ANSWER
Answered 2021-Apr-12 at 15:10To apply prefix first logic, you can use prefix query along with the boost
parameter. Try out the below query
QUESTION
I am having trouble writing my json data to a google sheet - I get the exception "The number of rows in the data does not match the number of rows in the range."
I think the problem is with how the range is set - but I don't know how to fix it. I include a sample of the json data after this script:
...ANSWER
Answered 2021-Feb-12 at 01:34Apparently you can't get a range with 0
rows. In this method getRange(row, column, numRows, numColumns), every parameter should be a number larger than 0
.
Why is rows.length
0
?
The issue has to do with the fact that your JSON
dataSet
is not an array, therefore the for
loop is terminated because dataSet.length
is undefined
. As a result row.length
is zero because no values were added.
Assuming the first row (headers) in your sheet is:
companyId companyName articles.date articles.articleUrl articles.title articles.summary
QUESTION
I created a subplot with plotly and need some advise on formating.
How to adjust the piechart so that there is no overlap between labels and title?
Sure i can just columns_width
and rows_height
but the overlap remains.
Moreover, is there function similiar to matplotlibs hspace/wspace?
Code:
...ANSWER
Answered 2021-Feb-05 at 15:06for the first part of your question, see this
The gist: you can adjust the subplot's title position by playing with the value of y
:
QUESTION
I want to create a 2x2 plot with only 3 subplots. 1 bar plot and two pieplots. See code:
...ANSWER
Answered 2021-Feb-04 at 12:27It seems to me that you're only missing a few domain attributes that you'll need for some subplots such as go.Pie()
:
QUESTION
I want to create a 2x2 subplot with 3 plots.
The first plot in whole first row (1X2). Second and Third plot, below,
My Code:
...ANSWER
Answered 2021-Feb-04 at 10:24Stupid me, i forgot to specifie the position of each plot in the
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install patents
You can use patents like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page