My results for patent_num_cited_by_us_patents differs from those provided by the API. Around 60% of the test cases I did matched. Those that didn't match were incorrect above and below the figure provided by the API.
Rather than using the API, I downloaded the uspatentcitation table. I noticed the patent_num_cited_by_us_patents field wasn't in any of the tables in the data dictionary. So, I created it using the following query:
SELECT citation_id as number,
COUNT(DISTINCT patent_id) as citations
FROM uspatentcitation
GROUP BY citation_id;
It appears that the computation above is different to that of what the API is returning. How is that field generated using the API?
Some examples:
Patent #: 4985270. API results: 41. Results from my query above: 37
Patent #: 8592650. API results 22. Results from my query above: 49.
Thank you,
Justin