deep1003 commited on
Commit
555e430
·
verified ·
1 Parent(s): 6438f57

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ documentation/technical_report.pdf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: PATSTAT AI Complete Master, 1950-2026
3
+ language:
4
+ - en
5
+ license: other
6
+ task_categories:
7
+ - text-classification
8
+ tags:
9
+ - patents
10
+ - artificial-intelligence
11
+ - patstat
12
+ - bibliometrics
13
+ - innovation
14
+ - cpc
15
+ - ipc
16
+ size_categories:
17
+ - 1M<n<10M
18
+ configs:
19
+ - config_name: all_periods
20
+ data_files:
21
+ - split: train
22
+ path: data/by_priority_period/*.parquet
23
+ - config_name: 1950s
24
+ data_files:
25
+ - split: train
26
+ path: data/by_priority_period/patstat_ai_1950s.parquet
27
+ - config_name: 1960s
28
+ data_files:
29
+ - split: train
30
+ path: data/by_priority_period/patstat_ai_1960s.parquet
31
+ - config_name: 1970s
32
+ data_files:
33
+ - split: train
34
+ path: data/by_priority_period/patstat_ai_1970s.parquet
35
+ - config_name: 1980s
36
+ data_files:
37
+ - split: train
38
+ path: data/by_priority_period/patstat_ai_1980s.parquet
39
+ - config_name: 1990s
40
+ data_files:
41
+ - split: train
42
+ path: data/by_priority_period/patstat_ai_1990s.parquet
43
+ - config_name: 2000s
44
+ data_files:
45
+ - split: train
46
+ path: data/by_priority_period/patstat_ai_2000s.parquet
47
+ - config_name: 2010s
48
+ data_files:
49
+ - split: train
50
+ path: data/by_priority_period/patstat_ai_2010s.parquet
51
+ - config_name: 2020_2026
52
+ data_files:
53
+ - split: train
54
+ path: data/by_priority_period/patstat_ai_2020_2026.parquet
55
+ ---
56
+
57
+ # PATSTAT AI Complete Master, 1950-2026
58
+
59
+ ## Dataset Summary
60
+
61
+ This private research dataset contains 2,330,553 unique patent applications and 175 columns related to artificial-intelligence patents. It integrates a legacy AI patent master with newly collected PATSTAT Online records. Duplicate resolution uses `app_id`, and the legacy record takes precedence when an application appears in both sources.
62
+
63
+ The data are partitioned by `priority_year` to support selective loading. The `2020_2026` category includes priority years 2020 through 2026. Records outside the documented range, if any, are retained in explicit boundary or unknown-year categories.
64
+
65
+ ## Repository Structure
66
+
67
+ ```text
68
+ data/by_priority_period/ Parquet data partitions by priority-year category
69
+ documentation/ Technical report and dataset report
70
+ metadata/ Schema, manifests, descriptive statistics, and QA reports
71
+ code/ Reproducible integration and backfill scripts
72
+ ```
73
+
74
+ ## Data Sources and Version
75
+
76
+ - Primary database: PATSTAT Online 2026 Spring.
77
+ - Legacy component: 1,850,664 legacy-only applications.
78
+ - Overlap component: 186,715 applications present in both sources; legacy values take precedence.
79
+ - New component: 293,174 new-only applications.
80
+ - Final key: 2,330,553 unique `app_id` values; no duplicate application IDs.
81
+
82
+ ## Categories
83
+
84
+ The main configuration loads all Parquet files. Period-specific configurations load a single priority-year category. These are storage and access categories, not machine-learning labels.
85
+
86
+ ```python
87
+ from datasets import load_dataset
88
+
89
+ all_data = load_dataset("deep1003/PATSTAT-AI-Complete-Master-1950-2026", "all_periods")
90
+ recent = load_dataset("deep1003/PATSTAT-AI-Complete-Master-1950-2026", "2020_2026")
91
+ ```
92
+
93
+ Authentication is required while the repository remains private.
94
+
95
+ ## Core Variables
96
+
97
+ Core identifiers and content fields include `app_id`, patent office, application number, priority year, title, abstract, applicant information, inventor information, applicant and inventor country codes, IPC codes, and CPC codes. The complete 175-column schema is available in `metadata/schema.json`; column-level completeness is available in `metadata/column_descriptive_statistics.csv`.
98
+
99
+ IPC codes are present for 2,326,676 applications (99.8336%). CPC codes are present for 1,850,180 applications (79.3880%). Missing CPC values can reflect the absence of a PATSTAT CPC relation and should not automatically be interpreted as collection failure.
100
+
101
+ ## Country Completion
102
+
103
+ Country fields include observed and rule-based completed values. The completion logic uses applicant, inventor, family, name, and patent-office evidence. Users must inspect the method and provenance fields before treating a completed country as directly observed. Patent-office country is not equivalent to inventor nationality or residence.
104
+
105
+ ## Intended Uses
106
+
107
+ The dataset is intended for patent landscaping, bibliometric research, technology-trend analysis, innovation studies, and reproducible methodological evaluation. It is not intended for legal-status determination, individual profiling, automated decisions about people, or inference of nationality from names.
108
+
109
+ ## Limitations
110
+
111
+ - Inventor and applicant country values are incomplete in the source data and may contain rule-based completion.
112
+ - Multiple inventors or applicants may be represented as delimited values. Users must normalize these fields before person-level or country-level counting.
113
+ - A patent office identifies the filing authority, not the inventor's country.
114
+ - Recent priority years are subject to publication and database-update lags.
115
+ - PATSTAT coverage and field definitions vary by office, jurisdiction, and year.
116
+ - CPC is less complete than IPC in the integrated master.
117
+
118
+ ## Privacy and Responsible Use
119
+
120
+ Patent records may contain names and address-related fields. Do not use this dataset to profile, contact, rank, or make consequential decisions about individuals. Apply data-minimization and applicable privacy rules. The dataset should remain private until redistribution rights, personal-data handling, and institutional release requirements have been reviewed.
121
+
122
+ ## License and Access
123
+
124
+ No open-data license is asserted for the underlying PATSTAT-derived records. Access to and reuse of PATSTAT content remain subject to the applicable EPO/PATSTAT terms and the uploader's institutional permissions. This repository is created as private by default. Repository access does not transfer ownership or waive third-party rights.
125
+
126
+ ## Reproducibility and Verification
127
+
128
+ The repository includes processing code, integration reports, file-level SHA-256 checksums, and a technical report. The packaging script creates Zstandard-compressed Parquet files and a manifest containing row counts, byte sizes, and checksums. Verify the manifest after downloading.
129
+
130
+ ## Citation
131
+
132
+ If permitted to use this dataset, cite the repository version or commit hash, the accompanying technical report, and EPO PATSTAT Online 2026 Spring. Add project authorship and institutional citation details before external distribution.
code/apply_ipc_cpc_backfill.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Apply verified 1950-2026 combined PATSTAT IPC/CPC downloads to blank final-master fields."""
2
+ import csv,gzip,json,os
3
+ from collections import defaultdict,Counter
4
+ from pathlib import Path
5
+ csv.field_size_limit(100_000_000)
6
+ BASE=Path('/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat')
7
+ RAW=BASE/'online_sql_exports/patstat_2026_spring_ai_expanded_v2_full_fields'
8
+ OUT=BASE/'final_master_20260712';FINAL=OUT/'patstat_ai_complete_master_legacy_priority_20260712.csv.gz';TMP=OUT/'_ipc_cpc_backfill.tmp.csv.gz'
9
+ vals=defaultdict(lambda:{'ipc':[],'cpc':[]})
10
+ def add(a,k,v):
11
+ v=(v or '').strip()
12
+ if v and v not in vals[a][k]:vals[a][k].append(v)
13
+ for p in sorted(RAW.glob('patstat_ai_classification_*_rows_*.csv')):
14
+ with p.open(encoding='utf-8-sig',newline='') as f:
15
+ for r in csv.DictReader(f,delimiter=';'):
16
+ for key,col in [('ipc','all_ipc_codes'),('cpc','all_cpc_codes')]:
17
+ for code in (r.get(col,'') or '').split(';'):add(r.get('app_id',''),key,code)
18
+ filled=Counter();rows=0
19
+ with gzip.open(FINAL,'rt',encoding='utf-8',newline='') as src,gzip.open(TMP,'wt',encoding='utf-8',newline='') as dst:
20
+ rd=csv.DictReader(src);w=csv.DictWriter(dst,fieldnames=rd.fieldnames);w.writeheader()
21
+ for r in rd:
22
+ rows+=1;x=vals.get(r['app_id'])
23
+ if x:
24
+ if not (r.get('all_ipc_codes')or'').strip() and x['ipc']:r['all_ipc_codes']='; '.join(x['ipc']);r['ipc_count']=str(len(x['ipc']));filled['ipc']+=1
25
+ if not (r.get('all_cpc_codes')or'').strip() and x['cpc']:r['all_cpc_codes']='; '.join(x['cpc']);r['cpc_count']=str(len(x['cpc']));filled['cpc']+=1
26
+ w.writerow(r)
27
+ os.replace(TMP,FINAL)
28
+ report={'state':'applied','years':[1950,2026],'rows':rows,'download_app_ids':len(vals),'filled_blank_rows':dict(filled),'rule':'existing nonblank values preserved; only blanks filled'}
29
+ (OUT/'ipc_cpc_backfill_1950_2026_report.json').write_text(json.dumps(report,indent=2),encoding='utf-8')
30
+ print(json.dumps(report,indent=2))
code/build_complete_master.py ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build, country-fill, and merge PATSTAT 2023-2026 collection with legacy Stage3 master."""
2
+ import csv, gzip, json, re
3
+ from collections import Counter, defaultdict
4
+ from pathlib import Path
5
+ csv.field_size_limit(100_000_000)
6
+
7
+ ROOT=Path('/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat')
8
+ RAW=ROOT/'online_sql_exports/patstat_2026_spring_ai_expanded_v2_full_fields'
9
+ OUT=ROOT/'final_master_20260712'; OUT.mkdir(parents=True,exist_ok=True)
10
+ LEGACY=ROOT/'final_three_datasets_20260622/patstat_keyword_precise_ai_20260704_stage3_person_fields_joined_to_ai_full.csv.gz'
11
+ YEARS=(2023,2024,2025,2026)
12
+ BITS={'KR':1,'US':2,'CN':4}; HAS=8
13
+ VALID=re.compile(r'^[A-Z]{2}$')
14
+ TERMS={'KR':['SAMSUNG','LG','HYUNDAI','SK HYNIX','KIA','POSCO','ETRI','KAIST'],'US':['IBM','GOOGLE','MICROSOFT','INTEL','QUALCOMM','APPLE','AMAZON','META PLATFORMS','NVIDIA','GENERAL ELECTRIC'],'CN':['HUAWEI','TENCENT','ALIBABA','BAIDU','ZTE','XIAOMI','BYD','STATE GRID','PING AN']}
15
+ PATS={c:[re.compile(rf'(?<![A-Z0-9]){re.escape(t)}(?![A-Z0-9])') for t in ts] for c,ts in TERMS.items()}
16
+
17
+ def files(y,g): return sorted(RAW.glob(f'patstat_ai_{g}_{y}_{y}_rows_*.csv'))
18
+ def uniq_add(d,k,v):
19
+ v=(v or '').strip()
20
+ if v and v not in d[k]: d[k].append(v)
21
+ def mask(v):
22
+ s={x.strip().upper() for x in (v or '').split(';') if x.strip()}
23
+ s={x for x in s if VALID.fullmatch(x) and x not in {'NA','UNKNOWN'}}
24
+ return (HAS|sum(b for c,b in BITS.items() if c in s)) if s else 0
25
+ def nmask(v):
26
+ v=(v or '').upper(); m=sum(BITS[c] for c,ps in PATS.items() if any(p.search(v) for p in ps))
27
+ return HAS|m if m else 0
28
+
29
+ def integrate_year(y):
30
+ master={}; fields=[]
31
+ for p in files(y,'application'):
32
+ with p.open(encoding='utf-8-sig',newline='') as f:
33
+ for r in csv.DictReader(f,delimiter=';'):
34
+ if not fields: fields=list(r)
35
+ a=r['app_id']; master.setdefault(a,r)
36
+ for k,v in r.items():
37
+ if not master[a].get(k) and v: master[a][k]=v
38
+ agg=defaultdict(lambda:defaultdict(list))
39
+ for p in files(y,'person'):
40
+ with p.open(encoding='utf-8-sig',newline='') as f:
41
+ for r in csv.DictReader(f,delimiter=';'):
42
+ a=r.get('app_id');
43
+ if a not in master: continue
44
+ for pref,seq in [('applicant','applt_seq_nr'),('inventor','invt_seq_nr')]:
45
+ try: on=int(r.get(seq) or 0)>0
46
+ except: on=False
47
+ if on:
48
+ for out,src in [('person_ids','person_id'),('names','psn_name'),('countries','person_ctry_code'),('addresses','person_address'),('sectors','psn_sector')]: uniq_add(agg[a],f'{pref}_{out}',r.get(src) or (r.get('person_name') if out=='names' else ''))
49
+ specs={'ipc':[('all_ipc_codes','ipc_class_symbol')],'cpc':[('all_cpc_codes','cpc_class_symbol')],'publication':[('publication_ids','pat_publn_id'),('publication_numbers','publn_nr'),('publication_dates','publn_date')],'priority':[('priority_appln_ids','prior_appln_id')]}
50
+ for g,maps in specs.items():
51
+ for p in files(y,g):
52
+ with p.open(encoding='utf-8-sig',newline='') as f:
53
+ for r in csv.DictReader(f,delimiter=';'):
54
+ a=r.get('app_id');
55
+ if a in master:
56
+ for o,s in maps: uniq_add(agg[a],o,r.get(s))
57
+ added=['applicant_person_ids','applicant_names','applicant_countries','applicant_addresses','applicant_sectors','inventor_person_ids','inventor_names','inventor_countries','inventor_addresses','inventor_sectors','all_ipc_codes','all_cpc_codes','publication_ids','publication_numbers','publication_dates','priority_appln_ids']
58
+ out=OUT/f'patstat_ai_integrated_{y}.csv.gz'
59
+ with gzip.open(out,'wt',encoding='utf-8',newline='') as f:
60
+ w=csv.DictWriter(f,fieldnames=fields+added); w.writeheader()
61
+ for a in sorted(master,key=int):
62
+ r=master[a]
63
+ for k in added:r[k]='; '.join(agg[a].get(k,[]))
64
+ w.writerow(r)
65
+ print('integrated',y,len(master),flush=True); return out,len(master),fields+added
66
+
67
+ def main():
68
+ integ=[]; collection={}; schemas=[]
69
+ for y in YEARS:
70
+ p,n,s=integrate_year(y); integ.append(p); schemas.append(s)
71
+ with gzip.open(p,'rt',encoding='utf-8',newline='') as f:
72
+ for r in csv.DictReader(f): collection[r['app_id']]=r
73
+ # family maps from direct applicant, else inventor
74
+ doc=defaultdict(int); inp=defaultdict(int)
75
+ before_country=Counter(); before_office=defaultdict(Counter)
76
+ for r in collection.values():
77
+ m=mask(r.get('applicant_countries')) or mask(r.get('inventor_countries'))
78
+ for c,b in BITS.items(): before_country[c]+=bool(m&b); before_office[r.get('patent_office','')][c]+=bool(m&b)
79
+ if m:
80
+ for k,d in [('docdb_family_id',doc),('inpadoc_family_id',inp)]:
81
+ fid=(r.get(k) or '').strip()
82
+ if fid and fid not in {'0','0.0'}: d[fid]|=m
83
+ methods=Counter(); after_country=Counter(); after_office=defaultdict(Counter)
84
+ for r in collection.values():
85
+ m=mask(r.get('applicant_countries')); method='applicant' if m else ''
86
+ if not m: m=mask(r.get('inventor_countries')); method='inventor' if m else ''
87
+ if not m:
88
+ fid=(r.get('docdb_family_id') or '').strip(); m=doc.get(fid,0) if fid not in {'','0','0.0'} else 0
89
+ if not m:
90
+ fid=(r.get('inpadoc_family_id') or '').strip(); m=inp.get(fid,0) if fid not in {'','0','0.0'} else 0
91
+ if m: method='family'
92
+ if not m: m=nmask(r.get('applicant_names')); method='name' if m else ''
93
+ if not m and r.get('patent_office') in BITS: m=HAS|BITS[r['patent_office']]; method='office'
94
+ if not m: method='none'
95
+ r['country_kr']=str(int(bool(m&1))); r['country_us']=str(int(bool(m&2))); r['country_cn']=str(int(bool(m&4))); r['country_fill_method']=method; r['patstat_release']='PATSTAT Online 2026 Spring'; r['record_source']='new_collection_2023_2026'
96
+ methods[method]+=1
97
+ for c,b in BITS.items(): after_country[c]+=bool(m&b); after_office[r.get('patent_office','')][c]+=bool(m&b)
98
+ new_schema=[]
99
+ for s in schemas:
100
+ for c in s+['country_kr','country_us','country_cn','country_fill_method','patstat_release','record_source']:
101
+ if c not in new_schema:new_schema.append(c)
102
+ newout=OUT/'patstat_ai_new_collection_2023_2026_integrated_country_filled.csv.gz'
103
+ with gzip.open(newout,'wt',encoding='utf-8',newline='') as f:
104
+ w=csv.DictWriter(f,fieldnames=new_schema);w.writeheader();w.writerows(collection.values())
105
+ # legacy priority: legacy values win on shared columns; new-only columns are appended and populated on matches
106
+ with gzip.open(LEGACY,'rt',encoding='utf-8-sig',newline='') as f: legacy_schema=next(csv.reader(f))
107
+ append=[c for c in new_schema if c not in legacy_schema]; final_schema=legacy_schema+append
108
+ final=OUT/'patstat_ai_complete_master_legacy_priority_20260712.csv.gz'; legacy_ids=set(); legacy_n=matched=0
109
+ with gzip.open(LEGACY,'rt',encoding='utf-8-sig',newline='') as src,gzip.open(final,'wt',encoding='utf-8',newline='') as dst:
110
+ rd=csv.DictReader(src);w=csv.DictWriter(dst,fieldnames=final_schema);w.writeheader()
111
+ for r in rd:
112
+ a=r['app_id'];legacy_ids.add(a);legacy_n+=1; nr=collection.get(a)
113
+ if nr: matched+=1
114
+ for c in append:r[c]=nr.get(c,'') if nr else ''
115
+ if 'record_source' in append:r['record_source']='legacy_priority_overlap' if nr else 'legacy_only'
116
+ w.writerow(r)
117
+ new_only=0
118
+ for a,nr in collection.items():
119
+ if a in legacy_ids:continue
120
+ row={c:'' for c in final_schema}
121
+ for c,v in nr.items():
122
+ if c in row:row[c]=v
123
+ row['record_source']='new_only';w.writerow(row);new_only+=1
124
+ report={'collection_status':'complete','years':list(YEARS),'new_integrated_rows':len(collection),'new_duplicate_app_ids_removed':sum(x[1] for x in [(0,0)]),'country_before':dict(before_country),'country_after':dict(after_country),'country_change':{c:after_country[c]-before_country[c] for c in BITS},'fill_methods':dict(methods),'office_before':{o:dict(v) for o,v in before_office.items()},'office_after':{o:dict(v) for o,v in after_office.items()},'legacy_rows':legacy_n,'overlap_rows_legacy_wins':matched,'new_only_rows':new_only,'final_rows':legacy_n+new_only,'legacy_columns':len(legacy_schema),'new_columns_added':append,'final_columns':len(final_schema),'outputs':{'new_integrated':str(newout),'complete_master':str(final)}}
125
+ (OUT/'integration_report.json').write_text(json.dumps(report,indent=2),encoding='utf-8')
126
+ print(json.dumps(report,indent=2),flush=True)
127
+ if __name__=='__main__':main()
code/coalesce_new_source_fields.py ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Fill selected blank legacy fields from new PATSTAT source while preserving nonblank legacy values."""
2
+ import csv,gzip,json,os
3
+ from collections import defaultdict,Counter
4
+ from pathlib import Path
5
+ csv.field_size_limit(100_000_000)
6
+ BASE=Path('/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat')
7
+ OUT=BASE/'final_master_20260712'; RAW=BASE/'online_sql_exports/patstat_2026_spring_ai_expanded_v2_full_fields'
8
+ FINAL=OUT/'patstat_ai_complete_master_legacy_priority_20260712.csv.gz';TMP=OUT/'_coalesce.tmp.csv.gz'
9
+ NEW=OUT/'patstat_ai_new_collection_2023_2026_integrated_country_filled.csv.gz'
10
+ YEARS=(2023,2024,2025,2026)
11
+ def add(d,k,v):
12
+ v=(v or '').strip()
13
+ if v and v not in d[k]:d[k].append(v)
14
+ def code_count(v):
15
+ return str(len({x.strip() for x in (v or '').split(';') if x.strip()})) if (v or '').strip() else ''
16
+ new={}
17
+ with gzip.open(NEW,'rt',encoding='utf-8',newline='') as f:
18
+ for r in csv.DictReader(f):new[r['app_id']]={'all_ipc_codes':r.get('all_ipc_codes',''),'all_cpc_codes':r.get('all_cpc_codes','')}
19
+ people=defaultdict(lambda:defaultdict(list))
20
+ for y in YEARS:
21
+ for p in sorted(RAW.glob(f'patstat_ai_person_{y}_{y}_rows_*.csv')):
22
+ with p.open(encoding='utf-8-sig',newline='') as f:
23
+ for r in csv.DictReader(f,delimiter=';'):
24
+ a=r.get('app_id')
25
+ if a not in new:continue
26
+ for pref,seq in [('applicant','applt_seq_nr'),('inventor','invt_seq_nr')]:
27
+ try:on=int(r.get(seq) or 0)>0
28
+ except:on=False
29
+ if not on:continue
30
+ add(people[a],f'{pref}_std_ids',r.get('doc_std_name_id'))
31
+ add(people[a],f'{pref}_countries',r.get('person_ctry_code'))
32
+ add(people[a],f'{pref}_addresses',r.get('person_address'))
33
+ name=r.get('doc_std_name') or r.get('psn_name') or r.get('person_name') or ''
34
+ info='|'.join([r.get('person_id','').strip(),name.strip(),r.get('person_ctry_code','').strip(),r.get('person_address','').strip()]).rstrip('|')
35
+ add(people[a],f'{pref}_info',info)
36
+ for a,x in new.items():
37
+ p=people.get(a,{})
38
+ x.update({'applicant_info':'; '.join(p.get('applicant_info',[])),'applicant_std_name_ids':'; '.join(p.get('applicant_std_ids',[])),'applicant_ctry_codes':'; '.join(p.get('applicant_countries',[])),'inventor_info':'; '.join(p.get('inventor_info',[])),'inventor_ctry_codes':'; '.join(p.get('inventor_countries',[])),'inventor_addresses':'; '.join(p.get('inventor_addresses',[]))})
39
+ targets=['all_ipc_codes','ipc_count','all_cpc_codes','cpc_count','applicant_info','applicant_std_name_ids','applicant_ctry_codes','inventor_info','inventor_ctry_codes','inventor_addresses']
40
+ filled=Counter();before=Counter();after=Counter();rows=0
41
+ with gzip.open(FINAL,'rt',encoding='utf-8',newline='') as src,gzip.open(TMP,'wt',encoding='utf-8',newline='') as dst:
42
+ rd=csv.DictReader(src);w=csv.DictWriter(dst,fieldnames=rd.fieldnames);w.writeheader()
43
+ for r in rd:
44
+ rows+=1;n=new.get(r['app_id'],{})
45
+ for c in targets:before[c]+=bool((r.get(c) or '').strip())
46
+ for c in ['all_ipc_codes','all_cpc_codes','applicant_info','applicant_std_name_ids','applicant_ctry_codes','inventor_info','inventor_ctry_codes','inventor_addresses']:
47
+ if not (r.get(c) or '').strip() and (n.get(c) or '').strip():r[c]=n[c];filled[c]+=1
48
+ if not (r.get('ipc_count') or '').strip() and (r.get('all_ipc_codes') or '').strip():r['ipc_count']=code_count(r['all_ipc_codes']);filled['ipc_count']+=1
49
+ if not (r.get('cpc_count') or '').strip() and (r.get('all_cpc_codes') or '').strip():r['cpc_count']=code_count(r['all_cpc_codes']);filled['cpc_count']+=1
50
+ for c in targets:after[c]+=bool((r.get(c) or '').strip())
51
+ w.writerow(r)
52
+ os.replace(TMP,FINAL)
53
+ report={'rows':rows,'rule':'preserve existing nonblank; fill blank from new PATSTAT source; derive counts from final code lists','targets':targets,'before_nonempty':dict(before),'filled_rows':dict(filled),'after_nonempty':dict(after),'remaining_missing':{c:rows-after[c] for c in targets}}
54
+ (OUT/'coalesced_fields_report.json').write_text(json.dumps(report,indent=2),encoding='utf-8')
55
+ print(json.dumps(report,indent=2))
code/finalize_legacy_country_flags.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import csv,gzip,json,os
2
+ from collections import Counter,defaultdict
3
+ from pathlib import Path
4
+ csv.field_size_limit(100_000_000)
5
+ OUT=Path('/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat/final_master_20260712')
6
+ LEG=Path('/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat/final_three_datasets_20260622/patstat_keyword_precise_ai_20260704_stage3_person_fields_joined_to_ai_full.csv.gz')
7
+ FLAGS=Path('/Users/deep1003/data3/ai_stpi_presentation_202607/dispersion_analysis_20260712/data/patent_appid_country_flags.csv')
8
+ NEW=OUT/'patstat_ai_new_collection_2023_2026_integrated_country_filled.csv.gz'
9
+ FINAL=OUT/'patstat_ai_complete_master_legacy_priority_20260712.csv.gz'; TMP=OUT/'_complete_master.tmp.csv.gz'
10
+ REP=OUT/'integration_report.json'
11
+ new={}
12
+ with gzip.open(NEW,'rt',encoding='utf-8',newline='') as f:
13
+ r=csv.DictReader(f); new_schema=r.fieldnames
14
+ for x in r:new[x['app_id']]=x
15
+ with gzip.open(LEG,'rt',encoding='utf-8-sig',newline='') as f: legacy_schema=next(csv.reader(f))
16
+ append=[c for c in new_schema if c not in legacy_schema]; schema=legacy_schema+append
17
+ seen=set(); total=matched=0; countries=Counter(); offices=defaultdict(Counter); methods=Counter()
18
+ with gzip.open(LEG,'rt',encoding='utf-8-sig',newline='') as lf, open(FLAGS,encoding='utf-8',newline='') as ff, gzip.open(TMP,'wt',encoding='utf-8',newline='') as of:
19
+ lr=csv.DictReader(lf); fr=csv.DictReader(ff); w=csv.DictWriter(of,fieldnames=schema);w.writeheader()
20
+ for row,flag in zip(lr,fr):
21
+ assert row['app_id']==flag['app_id']; a=row['app_id'];seen.add(a);total+=1;nr=new.get(a)
22
+ if nr:matched+=1
23
+ for c in append:row[c]=nr.get(c,'') if nr else ''
24
+ row['country_kr']=flag['kr'];row['country_us']=flag['us'];row['country_cn']=flag['cn'];row['country_fill_method']=flag['fill_method'];row['patstat_release']='PATSTAT Online 2026 Spring';row['record_source']='legacy_priority_overlap' if nr else 'legacy_only'
25
+ methods[row['country_fill_method']]+=1
26
+ for c,k in [('KR','country_kr'),('US','country_us'),('CN','country_cn')]:countries[c]+=int(row[k]);offices[row.get('patent_office','')][c]+=int(row[k])
27
+ w.writerow(row)
28
+ new_only=0
29
+ for a,row in new.items():
30
+ if a in seen:continue
31
+ out={c:'' for c in schema}
32
+ for c,v in row.items():
33
+ if c in out:out[c]=v
34
+ out['record_source']='new_only';w.writerow(out);new_only+=1;methods[out['country_fill_method']]+=1
35
+ for c,k in [('KR','country_kr'),('US','country_us'),('CN','country_cn')]:countries[c]+=int(out[k]);offices[out.get('patent_office','')][c]+=int(out[k])
36
+ os.replace(TMP,FINAL)
37
+ rep=json.load(open(REP));rep.update({'final_rows':total+new_only,'overlap_rows_legacy_wins':matched,'new_only_rows':new_only,'final_country_totals':dict(countries),'final_fill_method_counts':dict(methods),'final_office_country_totals':{o:dict(v) for o,v in offices.items()},'final_country_flags_note':'Legacy rows use legacy-derived country flags; new-only rows use new-collection-derived flags. Existing rows win on overlap.'})
38
+ REP.write_text(json.dumps(rep,indent=2),encoding='utf-8')
39
+ print(json.dumps({k:rep[k] for k in ['final_rows','overlap_rows_legacy_wins','new_only_rows','final_country_totals','final_fill_method_counts']},indent=2))
code/prepare_huggingface_dataset.py ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Prepare the PATSTAT AI master dataset for a private Hugging Face repository."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import csv
8
+ import gzip
9
+ import hashlib
10
+ import json
11
+ import shutil
12
+ from pathlib import Path
13
+
14
+ import pyarrow as pa
15
+ import pyarrow.csv as pacsv
16
+ import pyarrow.parquet as pq
17
+
18
+
19
+ PERIODS = (
20
+ (0, 1950, "before_1950"),
21
+ (1950, 1959, "1950s"),
22
+ (1960, 1969, "1960s"),
23
+ (1970, 1979, "1970s"),
24
+ (1980, 1989, "1980s"),
25
+ (1990, 1999, "1990s"),
26
+ (2000, 2009, "2000s"),
27
+ (2010, 2019, "2010s"),
28
+ (2020, 2026, "2020_2026"),
29
+ )
30
+
31
+
32
+ def period_label(year: int | None) -> str:
33
+ if year is None:
34
+ return "unknown_year"
35
+ for start, end, label in PERIODS:
36
+ if start <= year <= end:
37
+ return label
38
+ return "after_2026"
39
+
40
+
41
+ def sha256(path: Path) -> str:
42
+ digest = hashlib.sha256()
43
+ with path.open("rb") as stream:
44
+ for block in iter(lambda: stream.read(8 * 1024 * 1024), b""):
45
+ digest.update(block)
46
+ return digest.hexdigest()
47
+
48
+
49
+ def copy_supporting_files(source_dir: Path, output_dir: Path) -> None:
50
+ mappings = {
51
+ "HUGGINGFACE_README.md": "README.md",
52
+ "PATSTAT_AI_COMPLETE_MASTER_TECHNICAL_REPORT.pdf": "documentation/technical_report.pdf",
53
+ "PATSTAT_AI_COMPLETE_MASTER_TECHNICAL_REPORT.tex": "documentation/technical_report.tex",
54
+ "DATASET_REPORT.md": "documentation/dataset_report.md",
55
+ "final_master_column_descriptive_statistics.csv": "metadata/column_descriptive_statistics.csv",
56
+ "ipc_cpc_missingness_by_year.csv": "metadata/ipc_cpc_missingness_by_year.csv",
57
+ "integration_report.json": "metadata/integration_report.json",
58
+ "coalesced_fields_report.json": "metadata/coalesced_fields_report.json",
59
+ "ipc_cpc_backfill_1950_2026_report.json": "metadata/ipc_cpc_backfill_report.json",
60
+ "build_complete_master_20260712.py": "code/build_complete_master.py",
61
+ "finalize_legacy_country_flags.py": "code/finalize_legacy_country_flags.py",
62
+ "coalesce_new_source_fields.py": "code/coalesce_new_source_fields.py",
63
+ "apply_ipc_cpc_backfill_1990_2022.py": "code/apply_ipc_cpc_backfill.py",
64
+ "prepare_huggingface_dataset.py": "code/prepare_huggingface_dataset.py",
65
+ }
66
+ for source_name, target_name in mappings.items():
67
+ source = source_dir / source_name
68
+ if source.exists():
69
+ target = output_dir / target_name
70
+ target.parent.mkdir(parents=True, exist_ok=True)
71
+ shutil.copy2(source, target)
72
+
73
+
74
+ def build_dataset(source: Path, output_dir: Path) -> dict:
75
+ data_dir = output_dir / "data" / "by_priority_period"
76
+ if data_dir.exists():
77
+ shutil.rmtree(data_dir)
78
+ data_dir.mkdir(parents=True, exist_ok=True)
79
+ writers: dict[str, pq.ParquetWriter] = {}
80
+ counts: dict[str, int] = {}
81
+ schema: pa.Schema | None = None
82
+
83
+ with gzip.open(source, "rt", encoding="utf-8-sig", newline="") as stream:
84
+ columns = next(csv.reader(stream))
85
+ read_options = pacsv.ReadOptions(
86
+ block_size=64 * 1024 * 1024,
87
+ use_threads=True,
88
+ column_names=columns,
89
+ skip_rows=1,
90
+ encoding="utf8",
91
+ )
92
+ convert_options = pacsv.ConvertOptions(
93
+ column_types={column: pa.string() for column in columns},
94
+ strings_can_be_null=True,
95
+ )
96
+ reader = pacsv.open_csv(source, read_options=read_options, convert_options=convert_options)
97
+
98
+ try:
99
+ for batch in reader:
100
+ table = pa.Table.from_batches([batch])
101
+ if schema is None:
102
+ schema = table.schema
103
+ years = table.column("priority_year").to_pylist()
104
+ labels = [period_label(int(value)) if value is not None else "unknown_year" for value in years]
105
+ for label in sorted(set(labels)):
106
+ indices = pa.array([index for index, item in enumerate(labels) if item == label])
107
+ subset = table.take(indices)
108
+ target = data_dir / f"patstat_ai_{label}.parquet"
109
+ if label not in writers:
110
+ writers[label] = pq.ParquetWriter(
111
+ target,
112
+ subset.schema,
113
+ compression="zstd",
114
+ compression_level=6,
115
+ use_dictionary=True,
116
+ )
117
+ writers[label].write_table(subset, row_group_size=50_000)
118
+ counts[label] = counts.get(label, 0) + subset.num_rows
119
+ finally:
120
+ for writer in writers.values():
121
+ writer.close()
122
+
123
+ if schema is None:
124
+ raise RuntimeError("The source dataset is empty.")
125
+
126
+ manifest_rows = []
127
+ for path in sorted(data_dir.glob("*.parquet")):
128
+ label = path.stem.removeprefix("patstat_ai_")
129
+ manifest_rows.append(
130
+ {
131
+ "category": label,
132
+ "rows": counts[label],
133
+ "bytes": path.stat().st_size,
134
+ "sha256": sha256(path),
135
+ "path": str(path.relative_to(output_dir)),
136
+ }
137
+ )
138
+
139
+ metadata_dir = output_dir / "metadata"
140
+ metadata_dir.mkdir(parents=True, exist_ok=True)
141
+ with (metadata_dir / "file_manifest.csv").open("w", encoding="utf-8", newline="") as stream:
142
+ writer = csv.DictWriter(stream, fieldnames=["category", "rows", "bytes", "sha256", "path"])
143
+ writer.writeheader()
144
+ writer.writerows(manifest_rows)
145
+ with (metadata_dir / "schema.json").open("w", encoding="utf-8") as stream:
146
+ json.dump(
147
+ [{"name": field.name, "type": str(field.type), "nullable": field.nullable} for field in schema],
148
+ stream,
149
+ indent=2,
150
+ )
151
+
152
+ return {
153
+ "source": str(source),
154
+ "source_sha256": sha256(source),
155
+ "rows": sum(counts.values()),
156
+ "columns": len(schema),
157
+ "categories": counts,
158
+ "files": manifest_rows,
159
+ }
160
+
161
+
162
+ def main() -> None:
163
+ parser = argparse.ArgumentParser(description=__doc__)
164
+ parser.add_argument("--source", type=Path, required=True)
165
+ parser.add_argument("--output", type=Path, required=True)
166
+ args = parser.parse_args()
167
+ args.output.mkdir(parents=True, exist_ok=True)
168
+ result = build_dataset(args.source, args.output)
169
+ copy_supporting_files(args.source.parent, args.output)
170
+ with (args.output / "metadata" / "build_summary.json").open("w", encoding="utf-8") as stream:
171
+ json.dump(result, stream, indent=2)
172
+ print(json.dumps(result, indent=2))
173
+
174
+
175
+ if __name__ == "__main__":
176
+ main()
data/by_priority_period/patstat_ai_1950s.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d88690e6914c0fdcd8a1fb5cf8d30f6e469453b5a461f7c00e321785f1941458
3
+ size 1085780
data/by_priority_period/patstat_ai_1960s.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bcea14c652cd4b1963d3bfef2e040e90851550fb80fc9a2722846a6f477f3e6
3
+ size 2134226
data/by_priority_period/patstat_ai_1970s.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:911b5bfe50606830404ed32f19d5ee6cf1c883e411a41261a4b7cffd1e610bbf
3
+ size 4132661
data/by_priority_period/patstat_ai_1980s.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81b1b3ad6250aaf1e51d36e67f8fd9a00fb67741894d1a431cf884ccd6d15193
3
+ size 12509045
data/by_priority_period/patstat_ai_1990s.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a72b312910bac3e73594402461baca4a022e19204d0cfd0040945c1904cd89a
3
+ size 39589854
data/by_priority_period/patstat_ai_2000s.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27d7b2797166d1ec415a47cfe278de85f58be8463cc2c9001145dea3f56ad6d8
3
+ size 93546953
data/by_priority_period/patstat_ai_2010s.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1eb2ce82a156c41eecc4cc51ebd27c24795394e26b876f5d57b84814ea434678
3
+ size 341351099
data/by_priority_period/patstat_ai_2020_2026.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e20112a7f4b7262266d4e4b36b8b78c2bdf103e9bc759e75e580851e1ab692fc
3
+ size 438896400
data/by_priority_period/patstat_ai_before_1950.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff3a4fd57268b7e376d8f477016b68916f85b2e50bd1ca4244621a16ecbb5c20
3
+ size 232760
documentation/dataset_report.md ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PATSTAT AI Complete Master — Integration Report
2
+
3
+ Generated on 2026-07-12 from PATSTAT Online 2026 Spring.
4
+
5
+ ## Technical summary
6
+
7
+ The 2023–2026 PATSTAT Online collection is complete for all six source groups: application, person, IPC, CPC, publication, and priority. The downloads contained 492,655 application rows. Deduplication at `app_id` grain removed 12,766 repeated application rows, producing 479,889 unique newly collected applications.
8
+
9
+ The new collection overlaps the legacy Stage3 AI master on 186,715 `app_id` values. Following the required legacy-first rule, those rows retain all legacy values for shared columns. The 293,174 new-only applications were appended. The complete master contains 2,330,553 unique applications and 175 columns, with no duplicate `app_id` values.
10
+
11
+ ## Collection completion and annual integration
12
+
13
+ | Year | Downloaded application rows | Integrated unique applications | Repeated rows removed |
14
+ |---|---:|---:|---:|
15
+ | 2023 | 212,379 | 199,613 | 12,766 |
16
+ | 2024 | 192,234 | 192,234 | 0 |
17
+ | 2025 | 88,033 | 88,033 | 0 |
18
+ | 2026 | 9 | 9 | 0 |
19
+ | **Total** | **492,655** | **479,889** | **12,766** |
20
+
21
+ The yearly completion log records every year as `complete`, with all six groups present. The 2026 partition contains only nine applications in the current release and is therefore a small, incomplete calendar-year observation rather than a full-year total.
22
+
23
+ ## Country completion on the new collection
24
+
25
+ Country participation was assigned in this order: applicant country, inventor country, DOCDB/INPADOC family country, standardized applicant-name match, patent-office fallback for KR/US/CN, then `none`. A patent can participate in more than one country, so country totals overlap.
26
+
27
+ | Country | Before fill | After fill | Change |
28
+ |---|---:|---:|---:|
29
+ | KR | 25,926 | 26,961 | +1,035 |
30
+ | US | 14,628 | 14,724 | +96 |
31
+ | CN | 4,817 | 407,565 | +402,748 |
32
+
33
+ Fill-method counts for the 479,889 newly collected applications are: applicant 65,117; inventor 136; family 2,015; name 13,842; office 388,549; none 10,230.
34
+
35
+ ### Selected patent-office changes
36
+
37
+ | Patent office | Participation flag | Before | After | Change |
38
+ |---|---|---:|---:|---:|
39
+ | CN | CN | 0 | 402,632 | +402,632 |
40
+ | CN | KR | 0 | 50 | +50 |
41
+ | CN | US | 0 | 56 | +56 |
42
+ | KR | KR | 24,708 | 25,550 | +842 |
43
+ | JP | KR | 0 | 142 | +142 |
44
+ | JP | US | 0 | 36 | +36 |
45
+ | JP | CN | 0 | 114 | +114 |
46
+ | US | US | 13,683 | 13,683 | 0 |
47
+ | EP | US | 155 | 155 | 0 |
48
+
49
+ The large CN change is primarily the stated office fallback. It is an assigned participation flag under the requested hierarchy, not newly observed inventor-country evidence.
50
+
51
+ ## Legacy-first complete master
52
+
53
+ | Component | Rows |
54
+ |---|---:|
55
+ | Legacy-only | 1,850,664 |
56
+ | Legacy/new overlap, legacy wins | 186,715 |
57
+ | New-only appended | 293,174 |
58
+ | **Final unique applications** | **2,330,553** |
59
+
60
+ The legacy schema had 156 columns. Nineteen fields absent from the legacy schema were added, yielding 175 columns. Added fields include source-level applicant/inventor identifiers, names, countries and addresses; publication and priority lists; country flags and fill method; PATSTAT release; and record provenance.
61
+
62
+ For overlapping applications, shared legacy columns were preserved exactly. Newly added columns were populated from the new collection where available. Country flags on legacy rows use the previously generated legacy-country result; country flags on new-only rows use the new-collection result.
63
+
64
+ Final participation totals are KR 170,936, US 481,680, and CN 1,105,478. These totals overlap because one patent can carry multiple country flags. All 2,330,553 rows have a non-empty `country_fill_method`; 126,774 are explicitly marked `none`.
65
+
66
+ ## Quality checks
67
+
68
+ - Final row count: 2,330,553
69
+ - Final column count: 175
70
+ - Unique `app_id`: 2,330,553
71
+ - Duplicate `app_id`: 0
72
+ - Blank `country_fill_method`: 0
73
+ - Grain: one row per `app_id`
74
+ - Legacy-overlap precedence: legacy values retained for shared columns
75
+ - Source provenance values: `legacy_only`, `legacy_priority_overlap`, `new_only`
76
+
77
+ ## Blank-field coalescing from the new source
78
+
79
+ For selected shared columns, the final merge applies a coalescing rule: preserve every existing nonblank value and use the new PATSTAT source only when the existing value is blank. Code-count fields are derived from the resulting distinct semicolon-separated code lists.
80
+
81
+ | Column | Nonblank before | Filled from new/derived | Nonblank after | Remaining missing |
82
+ |---|---:|---:|---:|---:|
83
+ | `all_ipc_codes` | 293,094 | 186,592 | 479,686 | 1,850,867 |
84
+ | `ipc_count` | 0 | 479,686 | 479,686 | 1,850,867 |
85
+ | `all_cpc_codes` | 1,847,475 | 2,567 | 1,850,042 | 480,511 |
86
+ | `cpc_count` | 0 | 1,850,042 | 1,850,042 | 480,511 |
87
+ | `applicant_info` | 0 | 466,084 | 466,084 | 1,864,469 |
88
+ | `applicant_std_name_ids` | 0 | 466,084 | 466,084 | 1,864,469 |
89
+ | `applicant_ctry_codes` | 0 | 65,117 | 65,117 | 2,265,436 |
90
+ | `inventor_info` | 0 | 464,579 | 464,579 | 1,865,974 |
91
+ | `inventor_ctry_codes` | 0 | 47,432 | 47,432 | 2,283,121 |
92
+ | `inventor_addresses` | 0 | 0 | 0 | 2,330,553 |
93
+
94
+ `inventor_addresses` remains empty because the newly collected PATSTAT person rows contain no nonblank inventor address values. No address was inferred or substituted from another field.
95
+
96
+ ## Files and reproducibility
97
+
98
+ - `patstat_ai_complete_master_legacy_priority_20260712.csv.gz`: final complete master
99
+ - `patstat_ai_new_collection_2023_2026_integrated_country_filled.csv.gz`: new collection only
100
+ - `patstat_ai_integrated_2023.csv.gz` through `patstat_ai_integrated_2026.csv.gz`: annual source integrations
101
+ - `integration_report.json`: machine-readable counts and office/country cross-tabs
102
+ - `build_complete_master_20260712.py`: annual integration, new-country fill, and initial merge
103
+ - `finalize_legacy_country_flags.py`: legacy-first country-flag completion and final output
104
+ - `coalesce_new_source_fields.py`: blank-only enrichment of selected shared fields
105
+ - `coalesced_fields_report.json`: machine-readable before/after field completeness
106
+
107
+ ## Limitations
108
+
109
+ Applicant and inventor country fields remain sparse for some patent offices. Family and name stages are inferred from related records or standardized organization names. Office fallback assigns KR/US/CN according to filing authority only after earlier evidence is absent; it does not establish inventor nationality or residence. Recent-year totals, especially 2026, are affected by release timing and publication/indexing lag.
110
+
111
+ ## Full IPC/CPC backfill from PATSTAT Online 2026 Spring
112
+
113
+ A combined annual query was executed for every priority year from 1950 through 2026. Each result row contains `app_id`, `priority_year`, `all_ipc_codes`, and `all_cpc_codes`. All 77 years completed successfully. Existing nonblank code values were preserved and only blank fields were filled.
114
+
115
+ | Field | Before backfill | Added | Final nonblank | Final missing | Final coverage |
116
+ |---|---:|---:|---:|---:|---:|
117
+ | `all_ipc_codes` | 479,686 | 1,846,990 | 2,326,676 | 3,877 | 99.83% |
118
+ | `all_cpc_codes` | 1,850,042 | 138 | 1,850,180 | 480,373 | 79.39% |
119
+
120
+ `ipc_count` and `cpc_count` were recalculated from distinct semicolon-separated codes. The full-file validation found zero count mismatches, zero duplicate `app_id` values, and a valid GZIP stream. The limited CPC increase reflects applications without a corresponding CPC relation in the PATSTAT source rather than an incomplete download.
documentation/technical_report.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30eead55b769e7592b38d62a7ccc303ffdd293eebaa59906c64e31aa9aabd732
3
+ size 166013
documentation/technical_report.tex ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \documentclass[11pt,a4paper]{article}
2
+ \usepackage[T1]{fontenc}
3
+ \usepackage{lmodern}
4
+ \usepackage[margin=24mm]{geometry}
5
+ \usepackage{microtype}
6
+ \usepackage{booktabs,longtable,tabularx,array}
7
+ \usepackage{xcolor,graphicx,float}
8
+ \usepackage[hidelinks]{hyperref}
9
+ \usepackage{xurl}
10
+ \usepackage{enumitem}
11
+ \definecolor{navy}{HTML}{17365D}
12
+ \definecolor{lightblue}{HTML}{EAF2F8}
13
+ \definecolor{darkgray}{HTML}{4A4A4A}
14
+ \hypersetup{pdftitle={PATSTAT AI Complete Master Technical Report},pdfauthor={STPI AI Patent Data Project}}
15
+ \setlength{\parindent}{0pt}
16
+ \setlength{\parskip}{5pt}
17
+ \renewcommand{\arraystretch}{1.12}
18
+ \setlength{\emergencystretch}{2em}
19
+ \newcommand{\pct}{\%}
20
+
21
+ \begin{document}
22
+
23
+ \begin{titlepage}
24
+ \centering
25
+ \vspace*{28mm}
26
+ {\color{navy}\rule{\textwidth}{1.2pt}}\\[12mm]
27
+ {\Huge\bfseries PATSTAT AI Complete Master\\[3mm]Technical Report\par}
28
+ \vspace{8mm}
29
+ {\Large Legacy-priority integration, country completion, and IPC/CPC backfill\par}
30
+ \vspace{16mm}
31
+ {\large Dataset snapshot: 12 July 2026\par}
32
+ {\large Source release: PATSTAT Online 2026 Spring\par}
33
+ \vfill
34
+ \begin{tabular}{rl}
35
+ Observation grain: & One row per PATSTAT application identifier (\texttt{app\_id})\\
36
+ Rows: & 2,330,553\\
37
+ Columns: & 175\\
38
+ Coverage years: & 1950--2026\\
39
+ \end{tabular}
40
+ \vfill
41
+ {\color{navy}\rule{\textwidth}{1.2pt}}
42
+ \end{titlepage}
43
+
44
+ \pagenumbering{roman}
45
+ \tableofcontents
46
+ \newpage
47
+ \pagenumbering{arabic}
48
+
49
+ \section{Technical summary}
50
+
51
+ The final PATSTAT AI Complete Master contains \textbf{2,330,553 unique patent applications and 175 columns}. Full-file validation found exactly 2,330,553 distinct \texttt{app\_id} values, zero duplicated application identifiers, and a valid GZIP stream. The intended analytical grain is one row per PATSTAT application.
52
+
53
+ The master combines a 2,037,379-row legacy Stage3 AI dataset with 479,889 unique applications collected from PATSTAT Online 2026 Spring for 2023--2026. A total of 186,715 newly collected applications overlapped the legacy dataset; shared nonblank legacy values were retained. The integration appended 293,174 new-only applications and added 19 fields that were absent from the legacy schema.
54
+
55
+ A subsequent combined PATSTAT classification query collected the application identifier, priority year, and aggregated IPC and CPC code lists for every year from 1950 through 2026. IPC coverage increased to 2,326,676 applications (99.83\%). CPC coverage is 1,850,180 applications (79.39\%); the remaining CPC gaps reflect applications without an observed PATSTAT CPC relation rather than incomplete annual downloads.
56
+
57
+ Country participation flags are complete as stored variables, but their interpretation depends on the ordered completion rule. Direct applicant and inventor countries take precedence, followed by patent-family evidence, organization-name matching, and finally KR/US/CN filing-office fallback. Filing-office fallback is an operational participation assignment and does not establish inventor nationality or residence.
58
+
59
+ \section{Dataset scope and lineage}
60
+
61
+ \subsection{Input datasets}
62
+
63
+ \begin{tabularx}{\textwidth}{>{\raggedright\arraybackslash}Xrr>{\raggedright\arraybackslash}X}
64
+ \toprule
65
+ Input & Rows & Columns & Role \\
66
+ \midrule
67
+ Legacy Stage3 AI master & 2,037,379 & 156 & Existing classified AI corpus and standardized person fields \\
68
+ New PATSTAT 2023--2026 collection & 479,889 & 51 & Bibliographic, person, IPC, CPC, publication, and priority enrichment \\
69
+ PATSTAT annual classification backfill & 6,186,011 app IDs observed & 4 & IPC/CPC completion for 1950--2026 \\
70
+ \bottomrule
71
+ \end{tabularx}
72
+
73
+ The annual backfill population is larger than the final AI master because the PATSTAT query returns the full AI-filtered candidate population for each release-year interval. Only matching final-master \texttt{app\_id} values are applied.
74
+
75
+ \subsection{Final row composition}
76
+
77
+ \begin{table}[H]
78
+ \centering
79
+ \begin{tabular}{lr}
80
+ \toprule
81
+ Record provenance & Rows \\
82
+ \midrule
83
+ Legacy only & 1,850,664 \\
84
+ Legacy/new overlap, legacy priority & 186,715 \\
85
+ New only & 293,174 \\
86
+ \midrule
87
+ \textbf{Final unique applications} & \textbf{2,330,553} \\
88
+ \bottomrule
89
+ \end{tabular}
90
+ \end{table}
91
+
92
+ \section{Collection and integration methodology}
93
+
94
+ \subsection{Application-level integration}
95
+
96
+ PATSTAT relation tables were first aggregated to application grain. Applicant and inventor records were linked through PATSTAT person-application relations. IPC, CPC, publication, and priority relations were deduplicated within each application and stored as semicolon-separated lists. The final integration uses \texttt{app\_id} as the primary key.
97
+
98
+ The merge rule is:
99
+ \begin{enumerate}[leftmargin=*]
100
+ \item Retain each legacy row and every nonblank legacy value.
101
+ \item For an overlapping \texttt{app\_id}, fill a selected shared field only when the legacy value is blank.
102
+ \item Add columns present only in the new collection.
103
+ \item Append new-only \texttt{app\_id} values.
104
+ \item Revalidate unique application grain after every material rewrite.
105
+ \end{enumerate}
106
+
107
+ \subsection{Combined IPC/CPC backfill}
108
+
109
+ The final classification query returns one row per application:
110
+ \begin{verbatim}
111
+ app_id | priority_year | all_ipc_codes | all_cpc_codes
112
+ \end{verbatim}
113
+
114
+ IPC and CPC are aggregated independently with \texttt{STRING\_AGG} in correlated subqueries. This avoids an IPC-by-CPC Cartesian product. Annual queries were executed for all 77 years from 1950 through 2026. A total of 661 validated CSV download parts were produced. Each part was checked for required headers and expected row count before being accepted.
115
+
116
+ \section{Country participation completion}
117
+
118
+ Country flags follow this deterministic hierarchy:
119
+ \begin{enumerate}[leftmargin=*]
120
+ \item standardized applicant-country codes;
121
+ \item standardized inventor-country codes when applicant country is unavailable;
122
+ \item union of DOCDB family countries, then INPADOC family countries;
123
+ \item boundary-aware standardized organization-name matching;
124
+ \item KR, US, or CN filing-office fallback;
125
+ \item explicit \texttt{none} when no rule applies.
126
+ \end{enumerate}
127
+
128
+ \begin{table}[H]
129
+ \centering
130
+ \begin{tabular}{lr}
131
+ \toprule
132
+ Final fill method & Applications \\
133
+ \midrule
134
+ Applicant & 982,860 \\
135
+ Inventor & 6,498 \\
136
+ Family & 169,352 \\
137
+ Organization name & 64,529 \\
138
+ Filing office & 980,540 \\
139
+ None & 126,774 \\
140
+ \bottomrule
141
+ \end{tabular}
142
+ \end{table}
143
+
144
+ Final country-participation totals are KR 170,936, US 481,680, and CN 1,105,478. These totals overlap because one application can carry more than one country flag.
145
+
146
+ \section{Column descriptive statistics}
147
+
148
+ \subsection{Completeness distribution}
149
+
150
+ \begin{table}[H]
151
+ \centering
152
+ \begin{tabular}{lr}
153
+ \toprule
154
+ Completeness interval & Number of columns \\
155
+ \midrule
156
+ 100\% & 31 \\
157
+ 95\% to $<$100\% & 5 \\
158
+ 80\% to $<$95\% & 98 \\
159
+ 50\% to $<$80\% & 6 \\
160
+ 1\% to $<$50\% & 30 \\
161
+ $>$0\% to $<$1\% & 4 \\
162
+ 0\% & 1 \\
163
+ \midrule
164
+ Total & 175 \\
165
+ \bottomrule
166
+ \end{tabular}
167
+ \end{table}
168
+
169
+ \subsection{Core bibliographic and classification fields}
170
+
171
+ \begin{longtable}{p{0.38\textwidth}rrr}
172
+ \toprule
173
+ Column & Nonblank & Missing & Coverage \\
174
+ \midrule
175
+ \endhead
176
+ \texttt{app\_id} & 2,330,553 & 0 & 100.00\% \\
177
+ \texttt{patent\_office} & 2,330,553 & 0 & 100.00\% \\
178
+ \texttt{priority\_year} & 2,330,553 & 0 & 100.00\% \\
179
+ \texttt{title} & 2,325,259 & 5,294 & 99.77\% \\
180
+ \texttt{abstract} & 2,259,040 & 71,513 & 96.93\% \\
181
+ \texttt{all\_ipc\_codes} & 2,326,676 & 3,877 & 99.83\% \\
182
+ \texttt{ipc\_count} & 2,326,676 & 3,877 & 99.83\% \\
183
+ \texttt{all\_cpc\_codes} & 1,850,180 & 480,373 & 79.39\% \\
184
+ \texttt{cpc\_count} & 1,850,180 & 480,373 & 79.39\% \\
185
+ \bottomrule
186
+ \end{longtable}
187
+
188
+ \subsection{Applicant and inventor fields}
189
+
190
+ \begin{longtable}{p{0.42\textwidth}rrr}
191
+ \toprule
192
+ Column & Nonblank & Missing & Coverage \\
193
+ \midrule
194
+ \endhead
195
+ \texttt{stage3\_applicant\_names\_std} & 1,992,673 & 337,880 & 85.50\% \\
196
+ \texttt{stage3\_applicant\_countries} & 1,992,674 & 337,879 & 85.50\% \\
197
+ \texttt{stage3\_applicant\_affiliation} & 693,818 & 1,636,735 & 29.77\% \\
198
+ \texttt{stage3\_inventor\_names\_std} & 1,982,429 & 348,124 & 85.06\% \\
199
+ \texttt{stage3\_inventor\_countries} & 1,982,429 & 348,124 & 85.06\% \\
200
+ \texttt{stage3\_inventor\_affiliation} & 1,473,896 & 856,657 & 63.24\% \\
201
+ \texttt{applicant\_info} & 466,084 & 1,864,469 & 20.00\% \\
202
+ \texttt{inventor\_info} & 464,579 & 1,865,974 & 19.93\% \\
203
+ \bottomrule
204
+ \end{longtable}
205
+
206
+ The nonblank rate for country strings is not the same as the valid ISO-country rate because strings can contain \texttt{Unknown}. Country-level inference must use parsed valid codes and explicitly report the denominator.
207
+
208
+ \section{Quality assurance results}
209
+
210
+ \begin{table}[H]
211
+ \centering
212
+ \begin{tabularx}{\textwidth}{Xr}
213
+ \toprule
214
+ Check & Result \\
215
+ \midrule
216
+ Final row count & 2,330,553 \\
217
+ Final column count & 175 \\
218
+ Distinct \texttt{app\_id} & 2,330,553 \\
219
+ Duplicate \texttt{app\_id} rows & 0 \\
220
+ Blank \texttt{country\_fill\_method} & 0 \\
221
+ IPC count/list mismatches & 0 \\
222
+ CPC count/list mismatches & 0 \\
223
+ Annual classification years completed & 77 of 77 \\
224
+ Classification download parts & 661 \\
225
+ GZIP integrity & Passed \\
226
+ \bottomrule
227
+ \end{tabularx}
228
+ \end{table}
229
+
230
+ The only entirely blank column is \texttt{inventor\_addresses}. It remains blank because the newly collected PATSTAT person rows did not contain nonblank inventor-address values; no address was inferred from another field.
231
+
232
+ \section{Limitations and interpretation}
233
+
234
+ \begin{itemize}[leftmargin=*]
235
+ \item Filing office and inventor country are different concepts. Office fallback is retained as a documented operational rule, not a nationality measure.
236
+ \item Multinational applications contribute to every represented country; country totals therefore overlap.
237
+ \item Person-country coverage differs substantially across patent offices, so inventor-country comparisons describe observed records rather than a complete population.
238
+ \item CPC coverage is lower than IPC coverage because not every PATSTAT application has an observed CPC relation.
239
+ \item The 2026 partition contains only nine applications in the current collection and is not a complete calendar-year total.
240
+ \item AI taxonomy fields are populated primarily for the legacy 2,037,379-row corpus. Newly appended applications can have blank historical AI-category columns even though they were selected by the PATSTAT AI query policy.
241
+ \end{itemize}
242
+
243
+ \section{Reproducibility and deliverables}
244
+
245
+ Primary data file:
246
+ \begin{quote}\small
247
+ \path{patstat_ai_complete_master_legacy_priority_20260712.csv.gz}
248
+ \end{quote}
249
+
250
+ Supporting artifacts include the machine-readable integration and backfill reports, full 175-column descriptive-statistics CSV, annual collection status, SHA-256 checksum, and the Python scripts used for integration, country completion, blank-field coalescing, and IPC/CPC application.
251
+
252
+ The validated data-file SHA-256 at report generation time is:
253
+ \begin{quote}\ttfamily\small
254
+ 00f48da33ab6064f0fad4c891e8bc6aecc86f6ccde860767e1927777ee9fe43b
255
+ \end{quote}
256
+
257
+ \end{document}
metadata/build_summary.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat/final_master_20260712/patstat_ai_complete_master_legacy_priority_20260712.csv.gz",
3
+ "source_sha256": "00f48da33ab6064f0fad4c891e8bc6aecc86f6ccde860767e1927777ee9fe43b",
4
+ "rows": 2330553,
5
+ "columns": 175,
6
+ "categories": {
7
+ "1950s": 1457,
8
+ "1960s": 4716,
9
+ "1970s": 12612,
10
+ "1980s": 41393,
11
+ "1990s": 116211,
12
+ "before_1950": 66,
13
+ "2000s": 274544,
14
+ "2010s": 903957,
15
+ "2020_2026": 975597
16
+ },
17
+ "files": [
18
+ {
19
+ "category": "1950s",
20
+ "rows": 1457,
21
+ "bytes": 1085780,
22
+ "sha256": "d88690e6914c0fdcd8a1fb5cf8d30f6e469453b5a461f7c00e321785f1941458",
23
+ "path": "data/by_priority_period/patstat_ai_1950s.parquet"
24
+ },
25
+ {
26
+ "category": "1960s",
27
+ "rows": 4716,
28
+ "bytes": 2134226,
29
+ "sha256": "3bcea14c652cd4b1963d3bfef2e040e90851550fb80fc9a2722846a6f477f3e6",
30
+ "path": "data/by_priority_period/patstat_ai_1960s.parquet"
31
+ },
32
+ {
33
+ "category": "1970s",
34
+ "rows": 12612,
35
+ "bytes": 4132661,
36
+ "sha256": "911b5bfe50606830404ed32f19d5ee6cf1c883e411a41261a4b7cffd1e610bbf",
37
+ "path": "data/by_priority_period/patstat_ai_1970s.parquet"
38
+ },
39
+ {
40
+ "category": "1980s",
41
+ "rows": 41393,
42
+ "bytes": 12509045,
43
+ "sha256": "81b1b3ad6250aaf1e51d36e67f8fd9a00fb67741894d1a431cf884ccd6d15193",
44
+ "path": "data/by_priority_period/patstat_ai_1980s.parquet"
45
+ },
46
+ {
47
+ "category": "1990s",
48
+ "rows": 116211,
49
+ "bytes": 39589854,
50
+ "sha256": "6a72b312910bac3e73594402461baca4a022e19204d0cfd0040945c1904cd89a",
51
+ "path": "data/by_priority_period/patstat_ai_1990s.parquet"
52
+ },
53
+ {
54
+ "category": "2000s",
55
+ "rows": 274544,
56
+ "bytes": 93546953,
57
+ "sha256": "27d7b2797166d1ec415a47cfe278de85f58be8463cc2c9001145dea3f56ad6d8",
58
+ "path": "data/by_priority_period/patstat_ai_2000s.parquet"
59
+ },
60
+ {
61
+ "category": "2010s",
62
+ "rows": 903957,
63
+ "bytes": 341351099,
64
+ "sha256": "1eb2ce82a156c41eecc4cc51ebd27c24795394e26b876f5d57b84814ea434678",
65
+ "path": "data/by_priority_period/patstat_ai_2010s.parquet"
66
+ },
67
+ {
68
+ "category": "2020_2026",
69
+ "rows": 975597,
70
+ "bytes": 438896400,
71
+ "sha256": "e20112a7f4b7262266d4e4b36b8b78c2bdf103e9bc759e75e580851e1ab692fc",
72
+ "path": "data/by_priority_period/patstat_ai_2020_2026.parquet"
73
+ },
74
+ {
75
+ "category": "before_1950",
76
+ "rows": 66,
77
+ "bytes": 232760,
78
+ "sha256": "ff3a4fd57268b7e376d8f477016b68916f85b2e50bd1ca4244621a16ecbb5c20",
79
+ "path": "data/by_priority_period/patstat_ai_before_1950.parquet"
80
+ }
81
+ ]
82
+ }
metadata/coalesced_fields_report.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": 2330553,
3
+ "rule": "preserve existing nonblank; fill blank from new PATSTAT source; derive counts from final code lists",
4
+ "targets": [
5
+ "all_ipc_codes",
6
+ "ipc_count",
7
+ "all_cpc_codes",
8
+ "cpc_count",
9
+ "applicant_info",
10
+ "applicant_std_name_ids",
11
+ "applicant_ctry_codes",
12
+ "inventor_info",
13
+ "inventor_ctry_codes",
14
+ "inventor_addresses"
15
+ ],
16
+ "before_nonempty": {
17
+ "all_ipc_codes": 293094,
18
+ "ipc_count": 0,
19
+ "all_cpc_codes": 1847475,
20
+ "cpc_count": 0,
21
+ "applicant_info": 0,
22
+ "applicant_std_name_ids": 0,
23
+ "applicant_ctry_codes": 0,
24
+ "inventor_info": 0,
25
+ "inventor_ctry_codes": 0,
26
+ "inventor_addresses": 0
27
+ },
28
+ "filled_rows": {
29
+ "cpc_count": 1850042,
30
+ "all_ipc_codes": 186592,
31
+ "applicant_info": 466084,
32
+ "applicant_std_name_ids": 466084,
33
+ "inventor_info": 464579,
34
+ "ipc_count": 479686,
35
+ "applicant_ctry_codes": 65117,
36
+ "inventor_ctry_codes": 47432,
37
+ "all_cpc_codes": 2567
38
+ },
39
+ "after_nonempty": {
40
+ "all_ipc_codes": 479686,
41
+ "ipc_count": 479686,
42
+ "all_cpc_codes": 1850042,
43
+ "cpc_count": 1850042,
44
+ "applicant_info": 466084,
45
+ "applicant_std_name_ids": 466084,
46
+ "applicant_ctry_codes": 65117,
47
+ "inventor_info": 464579,
48
+ "inventor_ctry_codes": 47432,
49
+ "inventor_addresses": 0
50
+ },
51
+ "remaining_missing": {
52
+ "all_ipc_codes": 1850867,
53
+ "ipc_count": 1850867,
54
+ "all_cpc_codes": 480511,
55
+ "cpc_count": 480511,
56
+ "applicant_info": 1864469,
57
+ "applicant_std_name_ids": 1864469,
58
+ "applicant_ctry_codes": 2265436,
59
+ "inventor_info": 1865974,
60
+ "inventor_ctry_codes": 2283121,
61
+ "inventor_addresses": 2330553
62
+ }
63
+ }
metadata/column_descriptive_statistics.csv ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ column,inferred_type,nonempty_rows,missing_rows,completeness_pct
2
+ app_id,string,2330553,0,100.0
3
+ patent_office,string,2330553,0,100.0
4
+ app_num,string,2330553,0,100.0
5
+ priority_year,string,2330553,0,100.0
6
+ title,string,2325259,5294,99.7728
7
+ abstract,string,2259040,71513,96.9315
8
+ family_size,string,2037379,293174,87.4204
9
+ granted,string,2330553,0,100.0
10
+ ipc_count,string,2326676,3877,99.8336
11
+ cpc_count,string,1850180,480373,79.388
12
+ applicant_info,string,466084,1864469,19.9989
13
+ applicant_std_name_ids,string,466084,1864469,19.9989
14
+ applicant_sectors,string,278830,2051723,11.9641
15
+ applicant_ctry_codes,string,65117,2265436,2.7941
16
+ inventor_info,string,464579,1865974,19.9343
17
+ inventor_sectors,string,251874,2078679,10.8075
18
+ inventor_ctry_codes,string,47432,2283121,2.0352
19
+ all_ipc_codes,string,2326676,3877,99.8336
20
+ has_ai_core_code,string,2037379,293174,87.4204
21
+ machine_learning,string,2037379,293174,87.4204
22
+ neural_network,string,2037379,293174,87.4204
23
+ deep_learning,string,2037379,293174,87.4204
24
+ reinforcement_learning,string,2037379,293174,87.4204
25
+ probabilistic_model,string,2037379,293174,87.4204
26
+ svm,string,2037379,293174,87.4204
27
+ fuzzy_logic,string,2037379,293174,87.4204
28
+ expert_system,string,2037379,293174,87.4204
29
+ genetic_evolutionary,string,2037379,293174,87.4204
30
+ computer_vision,string,2037379,293174,87.4204
31
+ nlp,string,2037379,293174,87.4204
32
+ speech,string,2037379,293174,87.4204
33
+ robotics,string,2037379,293174,87.4204
34
+ planning_control,string,2037379,293174,87.4204
35
+ knowledge_reasoning,string,2037379,293174,87.4204
36
+ distributed_ai,string,2037379,293174,87.4204
37
+ predictive_analytics,string,2037379,293174,87.4204
38
+ autonomous_vehicle,string,2037379,293174,87.4204
39
+ physical_ai,string,2037379,293174,87.4204
40
+ healthcare_ai,string,2037379,293174,87.4204
41
+ generative_ai,string,2037379,293174,87.4204
42
+ categories,string,1528263,802290,65.5751
43
+ n_categories,string,2037379,293174,87.4204
44
+ ai_technique,string,2037379,293174,87.4204
45
+ ai_functional,string,2037379,293174,87.4204
46
+ ai_application,string,2037379,293174,87.4204
47
+ has_ai_core_ipc,string,2037379,293174,87.4204
48
+ is_ai,string,2037379,293174,87.4204
49
+ classification_basis,string,2037379,293174,87.4204
50
+ stage1_source,string,2037379,293174,87.4204
51
+ ai_accelerator,string,2037379,293174,87.4204
52
+ datacenter,string,2037379,293174,87.4204
53
+ ai_networking,string,2037379,293174,87.4204
54
+ ai_systems_sw,string,2037379,293174,87.4204
55
+ ai_general,string,2037379,293174,87.4204
56
+ categories_kw,string,1528263,802290,65.5751
57
+ n_categories_kw,string,2037379,293174,87.4204
58
+ has_ai_core_ipc_kw,string,2037379,293174,87.4204
59
+ is_ai_kw,string,2037379,293174,87.4204
60
+ keyword_language_scope,string,2037379,293174,87.4204
61
+ translation_policy,string,2037379,293174,87.4204
62
+ physical_rescue_humanoid,string,752686,1577867,32.2965
63
+ physical_rescue_robotics,string,752686,1577867,32.2965
64
+ physical_rescue_automation,string,752686,1577867,32.2965
65
+ physical_rescue_autonomous_vehicle,string,752686,1577867,32.2965
66
+ physical_ai_rescue_policy,string,318611,2011942,13.671
67
+ speech_audio,string,318465,2012088,13.6648
68
+ robotics_control,string,318465,2012088,13.6648
69
+ multimodal_ai,string,318465,2012088,13.6648
70
+ agentic_ai,string,2037379,293174,87.4204
71
+ ai_safety_alignment,string,318465,2012088,13.6648
72
+ ai_infrastructure,string,318465,2012088,13.6648
73
+ broad_ai_rescue_categories,string,318465,2012088,13.6648
74
+ broad_ai_rescue_groups,string,318465,2012088,13.6648
75
+ core_aggressive_machine_learning,string,2037379,293174,87.4204
76
+ core_aggressive_neural_network,string,2037379,293174,87.4204
77
+ core_aggressive_deep_learning,string,2037379,293174,87.4204
78
+ core_aggressive_computer_vision,string,2037379,293174,87.4204
79
+ core_aggressive_policy,string,2037379,293174,87.4204
80
+ canonical_machine_learning,string,2037379,293174,87.4204
81
+ canonical_deep_learning,string,2037379,293174,87.4204
82
+ canonical_reinforcement_learning,string,2037379,293174,87.4204
83
+ canonical_knowledge_reasoning,string,2037379,293174,87.4204
84
+ canonical_computer_vision,string,2037379,293174,87.4204
85
+ canonical_nlp,string,2037379,293174,87.4204
86
+ canonical_speech_audio,string,2037379,293174,87.4204
87
+ canonical_robotics_control,string,2037379,293174,87.4204
88
+ canonical_expert_system,string,2037379,293174,87.4204
89
+ canonical_multimodal_ai,string,2037379,293174,87.4204
90
+ canonical_generative_ai,string,2037379,293174,87.4204
91
+ canonical_agentic_ai,string,2037379,293174,87.4204
92
+ canonical_physical_ai,string,2037379,293174,87.4204
93
+ canonical_ai_safety_alignment,string,2037379,293174,87.4204
94
+ canonical_ai_infrastructure,string,2037379,293174,87.4204
95
+ old_categories_before_canonical,string,2037379,293174,87.4204
96
+ canonical_categories,string,1528263,802290,65.5751
97
+ canonical_n_categories,string,2037379,293174,87.4204
98
+ canonical_taxonomy_policy,string,2037379,293174,87.4204
99
+ appln_kind,string,2330553,0,100.0
100
+ appln_filing_date,string,2330553,0,100.0
101
+ appln_filing_year,string,2330553,0,100.0
102
+ earliest_filing_date,string,2330553,0,100.0
103
+ earliest_filing_id,string,2330553,0,100.0
104
+ earliest_publn_date,string,2330553,0,100.0
105
+ earliest_publn_year,string,2330553,0,100.0
106
+ earliest_pat_publn_id,string,2330553,0,100.0
107
+ docdb_family_id,string,2330553,0,100.0
108
+ inpadoc_family_id,string,2330553,0,100.0
109
+ nb_citing_docdb_fam,string,2330553,0,100.0
110
+ nb_applicants,string,2330553,0,100.0
111
+ nb_inventors,string,2330553,0,100.0
112
+ receiving_office,string,2330553,0,100.0
113
+ ipr_type,string,2330553,0,100.0
114
+ internat_appln_id,string,2330553,0,100.0
115
+ int_phase,string,2330553,0,100.0
116
+ reg_phase,string,2330553,0,100.0
117
+ nat_phase,string,2330553,0,100.0
118
+ appln_nr_epodoc,string,2330553,0,100.0
119
+ appln_nr_original,string,2324920,5633,99.7583
120
+ priority_count,string,2037379,293174,87.4204
121
+ publication_count,string,2037379,293174,87.4204
122
+ first_publn_date,string,2037379,293174,87.4204
123
+ first_grant_publn_date,string,2014005,316548,86.4175
124
+ publication_info,string,2037379,293174,87.4204
125
+ all_cpc_codes,string,1850180,480373,79.388
126
+ stage2_enrichment_available,string,2037379,293174,87.4204
127
+ agentic_ai_before_aggressive,string,2037379,293174,87.4204
128
+ agentic_ai_aggressive_keyword_strong,string,2037379,293174,87.4204
129
+ agentic_ai_aggressive_keyword_contextual,string,2037379,293174,87.4204
130
+ agentic_ai_aggressive_code_strong,string,2037379,293174,87.4204
131
+ agentic_ai_aggressive_code_contextual,string,2037379,293174,87.4204
132
+ agentic_ai_aggressive_newly_added,string,2037379,293174,87.4204
133
+ agentic_ai_aggressive_policy,string,2037379,293174,87.4204
134
+ deep_learning_before_aggressive,string,2037379,293174,87.4204
135
+ deep_learning_aggressive_keyword_strong,string,2037379,293174,87.4204
136
+ deep_learning_aggressive_keyword_contextual,string,2037379,293174,87.4204
137
+ deep_learning_aggressive_code_strong,string,2037379,293174,87.4204
138
+ deep_learning_aggressive_g06n3_context,string,2037379,293174,87.4204
139
+ deep_learning_aggressive_newly_added,string,2037379,293174,87.4204
140
+ deep_learning_aggressive_policy,string,2037379,293174,87.4204
141
+ in_ai_infra_set,string,2037379,293174,87.4204
142
+ ai_infra_partition,string,11283,2319270,0.4841
143
+ ai_infra_subcategory_final,string,11283,2319270,0.4841
144
+ canonical_generative_ai_before_aggressive,string,2037379,293174,87.4204
145
+ generative_ai_aggressive_strict_pattern,string,2037379,293174,87.4204
146
+ generative_ai_aggressive_contextual_pattern,string,2037379,293174,87.4204
147
+ generative_ai_aggressive_ai_context,string,2037379,293174,87.4204
148
+ generative_ai_aggressive_contextual_match,string,2037379,293174,87.4204
149
+ generative_ai_aggressive_newly_added,string,2037379,293174,87.4204
150
+ generative_ai_aggressive_policy,string,2037379,293174,87.4204
151
+ appln_filing_year_stage3,string,2036748,293805,87.3933
152
+ stage3_applicant_names_std,string,1992673,337880,85.5022
153
+ stage3_applicant_countries,string,1992674,337879,85.5022
154
+ stage3_applicant_affiliation,string,693818,1636735,29.7705
155
+ stage3_inventor_names_std,string,1982429,348124,85.0626
156
+ stage3_inventor_countries,string,1982429,348124,85.0626
157
+ stage3_inventor_affiliation,string,1473896,856657,63.2423
158
+ docdb_family_size,string,479889,1850664,20.5912
159
+ applicant_person_ids,string,466084,1864469,19.9989
160
+ applicant_names,string,466084,1864469,19.9989
161
+ applicant_countries,string,65117,2265436,2.7941
162
+ applicant_addresses,string,13691,2316862,0.5875
163
+ inventor_person_ids,string,464579,1865974,19.9343
164
+ inventor_names,string,464579,1865974,19.9343
165
+ inventor_countries,string,47432,2283121,2.0352
166
+ inventor_addresses,string,0,2330553,0.0
167
+ publication_ids,string,479889,1850664,20.5912
168
+ publication_numbers,string,479889,1850664,20.5912
169
+ publication_dates,string,479889,1850664,20.5912
170
+ priority_appln_ids,string,15947,2314606,0.6843
171
+ country_kr,string,2330553,0,100.0
172
+ country_us,string,2330553,0,100.0
173
+ country_cn,string,2330553,0,100.0
174
+ country_fill_method,string,2330553,0,100.0
175
+ patstat_release,string,2330553,0,100.0
176
+ record_source,string,2330553,0,100.0
metadata/file_manifest.csv ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ category,rows,bytes,sha256,path
2
+ 1950s,1457,1085780,d88690e6914c0fdcd8a1fb5cf8d30f6e469453b5a461f7c00e321785f1941458,data/by_priority_period/patstat_ai_1950s.parquet
3
+ 1960s,4716,2134226,3bcea14c652cd4b1963d3bfef2e040e90851550fb80fc9a2722846a6f477f3e6,data/by_priority_period/patstat_ai_1960s.parquet
4
+ 1970s,12612,4132661,911b5bfe50606830404ed32f19d5ee6cf1c883e411a41261a4b7cffd1e610bbf,data/by_priority_period/patstat_ai_1970s.parquet
5
+ 1980s,41393,12509045,81b1b3ad6250aaf1e51d36e67f8fd9a00fb67741894d1a431cf884ccd6d15193,data/by_priority_period/patstat_ai_1980s.parquet
6
+ 1990s,116211,39589854,6a72b312910bac3e73594402461baca4a022e19204d0cfd0040945c1904cd89a,data/by_priority_period/patstat_ai_1990s.parquet
7
+ 2000s,274544,93546953,27d7b2797166d1ec415a47cfe278de85f58be8463cc2c9001145dea3f56ad6d8,data/by_priority_period/patstat_ai_2000s.parquet
8
+ 2010s,903957,341351099,1eb2ce82a156c41eecc4cc51ebd27c24795394e26b876f5d57b84814ea434678,data/by_priority_period/patstat_ai_2010s.parquet
9
+ 2020_2026,975597,438896400,e20112a7f4b7262266d4e4b36b8b78c2bdf103e9bc759e75e580851e1ab692fc,data/by_priority_period/patstat_ai_2020_2026.parquet
10
+ before_1950,66,232760,ff3a4fd57268b7e376d8f477016b68916f85b2e50bd1ca4244621a16ecbb5c20,data/by_priority_period/patstat_ai_before_1950.parquet
metadata/integration_report.json ADDED
@@ -0,0 +1,885 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "collection_status": "complete",
3
+ "years": [
4
+ 2023,
5
+ 2024,
6
+ 2025,
7
+ 2026
8
+ ],
9
+ "new_integrated_rows": 479889,
10
+ "new_duplicate_app_ids_removed": 12766,
11
+ "country_before": {
12
+ "KR": 25926,
13
+ "US": 14628,
14
+ "CN": 4817
15
+ },
16
+ "country_after": {
17
+ "KR": 26961,
18
+ "US": 14724,
19
+ "CN": 407565
20
+ },
21
+ "country_change": {
22
+ "KR": 1035,
23
+ "US": 96,
24
+ "CN": 402748
25
+ },
26
+ "fill_methods": {
27
+ "applicant": 65117,
28
+ "office": 388549,
29
+ "family": 2015,
30
+ "name": 13842,
31
+ "none": 10230,
32
+ "inventor": 136
33
+ },
34
+ "office_before": {
35
+ "MA": {
36
+ "KR": 0,
37
+ "US": 0,
38
+ "CN": 0
39
+ },
40
+ "EP": {
41
+ "KR": 83,
42
+ "US": 155,
43
+ "CN": 70
44
+ },
45
+ "LU": {
46
+ "KR": 0,
47
+ "US": 3,
48
+ "CN": 1967
49
+ },
50
+ "CN": {
51
+ "KR": 0,
52
+ "US": 0,
53
+ "CN": 0
54
+ },
55
+ "BE": {
56
+ "KR": 0,
57
+ "US": 3,
58
+ "CN": 69
59
+ },
60
+ "JP": {
61
+ "KR": 0,
62
+ "US": 0,
63
+ "CN": 0
64
+ },
65
+ "DE": {
66
+ "KR": 8,
67
+ "US": 491,
68
+ "CN": 116
69
+ },
70
+ "GB": {
71
+ "KR": 7,
72
+ "US": 30,
73
+ "CN": 15
74
+ },
75
+ "KR": {
76
+ "KR": 24708,
77
+ "US": 46,
78
+ "CN": 26
79
+ },
80
+ "NL": {
81
+ "KR": 2,
82
+ "US": 18,
83
+ "CN": 233
84
+ },
85
+ "ES": {
86
+ "KR": 0,
87
+ "US": 0,
88
+ "CN": 2
89
+ },
90
+ "FR": {
91
+ "KR": 0,
92
+ "US": 31,
93
+ "CN": 4
94
+ },
95
+ "CZ": {
96
+ "KR": 0,
97
+ "US": 2,
98
+ "CN": 0
99
+ },
100
+ "CH": {
101
+ "KR": 0,
102
+ "US": 0,
103
+ "CN": 2
104
+ },
105
+ "FI": {
106
+ "KR": 0,
107
+ "US": 0,
108
+ "CN": 0
109
+ },
110
+ "WO": {
111
+ "KR": 11,
112
+ "US": 38,
113
+ "CN": 126
114
+ },
115
+ "US": {
116
+ "KR": 835,
117
+ "US": 13683,
118
+ "CN": 1490
119
+ },
120
+ "SK": {
121
+ "KR": 0,
122
+ "US": 1,
123
+ "CN": 0
124
+ },
125
+ "AU": {
126
+ "KR": 9,
127
+ "US": 66,
128
+ "CN": 69
129
+ },
130
+ "ZA": {
131
+ "KR": 0,
132
+ "US": 5,
133
+ "CN": 183
134
+ },
135
+ "TW": {
136
+ "KR": 259,
137
+ "US": 52,
138
+ "CN": 425
139
+ },
140
+ "IE": {
141
+ "KR": 0,
142
+ "US": 0,
143
+ "CN": 16
144
+ },
145
+ "PL": {
146
+ "KR": 1,
147
+ "US": 0,
148
+ "CN": 0
149
+ },
150
+ "RS": {
151
+ "KR": 0,
152
+ "US": 0,
153
+ "CN": 0
154
+ },
155
+ "RO": {
156
+ "KR": 0,
157
+ "US": 0,
158
+ "CN": 0
159
+ },
160
+ "AT": {
161
+ "KR": 0,
162
+ "US": 0,
163
+ "CN": 1
164
+ },
165
+ "GR": {
166
+ "KR": 0,
167
+ "US": 0,
168
+ "CN": 0
169
+ },
170
+ "CA": {
171
+ "KR": 1,
172
+ "US": 2,
173
+ "CN": 2
174
+ },
175
+ "NO": {
176
+ "KR": 0,
177
+ "US": 0,
178
+ "CN": 0
179
+ },
180
+ "DK": {
181
+ "KR": 0,
182
+ "US": 1,
183
+ "CN": 0
184
+ },
185
+ "BG": {
186
+ "KR": 0,
187
+ "US": 0,
188
+ "CN": 0
189
+ },
190
+ "SE": {
191
+ "KR": 1,
192
+ "US": 1,
193
+ "CN": 0
194
+ },
195
+ "MD": {
196
+ "KR": 0,
197
+ "US": 0,
198
+ "CN": 0
199
+ },
200
+ "BR": {
201
+ "KR": 0,
202
+ "US": 0,
203
+ "CN": 0
204
+ },
205
+ "HU": {
206
+ "KR": 0,
207
+ "US": 0,
208
+ "CN": 1
209
+ },
210
+ "SI": {
211
+ "KR": 0,
212
+ "US": 0,
213
+ "CN": 0
214
+ },
215
+ "PT": {
216
+ "KR": 0,
217
+ "US": 0,
218
+ "CN": 0
219
+ },
220
+ "LT": {
221
+ "KR": 0,
222
+ "US": 0,
223
+ "CN": 0
224
+ },
225
+ "MY": {
226
+ "KR": 1,
227
+ "US": 0,
228
+ "CN": 0
229
+ },
230
+ "GE": {
231
+ "KR": 0,
232
+ "US": 0,
233
+ "CN": 0
234
+ }
235
+ },
236
+ "office_after": {
237
+ "MA": {
238
+ "KR": 0,
239
+ "US": 0,
240
+ "CN": 0
241
+ },
242
+ "EP": {
243
+ "KR": 83,
244
+ "US": 155,
245
+ "CN": 70
246
+ },
247
+ "LU": {
248
+ "KR": 0,
249
+ "US": 3,
250
+ "CN": 1967
251
+ },
252
+ "CN": {
253
+ "KR": 50,
254
+ "US": 56,
255
+ "CN": 402632
256
+ },
257
+ "BE": {
258
+ "KR": 0,
259
+ "US": 3,
260
+ "CN": 69
261
+ },
262
+ "JP": {
263
+ "KR": 142,
264
+ "US": 36,
265
+ "CN": 114
266
+ },
267
+ "DE": {
268
+ "KR": 8,
269
+ "US": 491,
270
+ "CN": 116
271
+ },
272
+ "GB": {
273
+ "KR": 7,
274
+ "US": 30,
275
+ "CN": 15
276
+ },
277
+ "KR": {
278
+ "KR": 25550,
279
+ "US": 46,
280
+ "CN": 26
281
+ },
282
+ "NL": {
283
+ "KR": 2,
284
+ "US": 18,
285
+ "CN": 233
286
+ },
287
+ "ES": {
288
+ "KR": 1,
289
+ "US": 1,
290
+ "CN": 3
291
+ },
292
+ "FR": {
293
+ "KR": 0,
294
+ "US": 31,
295
+ "CN": 4
296
+ },
297
+ "CZ": {
298
+ "KR": 0,
299
+ "US": 2,
300
+ "CN": 0
301
+ },
302
+ "CH": {
303
+ "KR": 0,
304
+ "US": 0,
305
+ "CN": 2
306
+ },
307
+ "FI": {
308
+ "KR": 0,
309
+ "US": 1,
310
+ "CN": 0
311
+ },
312
+ "WO": {
313
+ "KR": 11,
314
+ "US": 38,
315
+ "CN": 126
316
+ },
317
+ "US": {
318
+ "KR": 835,
319
+ "US": 13683,
320
+ "CN": 1490
321
+ },
322
+ "SK": {
323
+ "KR": 0,
324
+ "US": 1,
325
+ "CN": 0
326
+ },
327
+ "AU": {
328
+ "KR": 9,
329
+ "US": 68,
330
+ "CN": 70
331
+ },
332
+ "ZA": {
333
+ "KR": 0,
334
+ "US": 5,
335
+ "CN": 183
336
+ },
337
+ "TW": {
338
+ "KR": 259,
339
+ "US": 52,
340
+ "CN": 425
341
+ },
342
+ "IE": {
343
+ "KR": 0,
344
+ "US": 0,
345
+ "CN": 16
346
+ },
347
+ "PL": {
348
+ "KR": 1,
349
+ "US": 0,
350
+ "CN": 0
351
+ },
352
+ "RS": {
353
+ "KR": 0,
354
+ "US": 0,
355
+ "CN": 0
356
+ },
357
+ "RO": {
358
+ "KR": 0,
359
+ "US": 0,
360
+ "CN": 0
361
+ },
362
+ "AT": {
363
+ "KR": 0,
364
+ "US": 0,
365
+ "CN": 1
366
+ },
367
+ "GR": {
368
+ "KR": 0,
369
+ "US": 0,
370
+ "CN": 0
371
+ },
372
+ "CA": {
373
+ "KR": 1,
374
+ "US": 2,
375
+ "CN": 2
376
+ },
377
+ "NO": {
378
+ "KR": 0,
379
+ "US": 0,
380
+ "CN": 0
381
+ },
382
+ "DK": {
383
+ "KR": 0,
384
+ "US": 1,
385
+ "CN": 0
386
+ },
387
+ "BG": {
388
+ "KR": 0,
389
+ "US": 0,
390
+ "CN": 0
391
+ },
392
+ "SE": {
393
+ "KR": 1,
394
+ "US": 1,
395
+ "CN": 0
396
+ },
397
+ "MD": {
398
+ "KR": 0,
399
+ "US": 0,
400
+ "CN": 0
401
+ },
402
+ "BR": {
403
+ "KR": 0,
404
+ "US": 0,
405
+ "CN": 0
406
+ },
407
+ "HU": {
408
+ "KR": 0,
409
+ "US": 0,
410
+ "CN": 1
411
+ },
412
+ "SI": {
413
+ "KR": 0,
414
+ "US": 0,
415
+ "CN": 0
416
+ },
417
+ "PT": {
418
+ "KR": 0,
419
+ "US": 0,
420
+ "CN": 0
421
+ },
422
+ "LT": {
423
+ "KR": 0,
424
+ "US": 0,
425
+ "CN": 0
426
+ },
427
+ "MY": {
428
+ "KR": 1,
429
+ "US": 0,
430
+ "CN": 0
431
+ },
432
+ "GE": {
433
+ "KR": 0,
434
+ "US": 0,
435
+ "CN": 0
436
+ }
437
+ },
438
+ "legacy_rows": 2037379,
439
+ "overlap_rows_legacy_wins": 186715,
440
+ "new_only_rows": 293174,
441
+ "final_rows": 2330553,
442
+ "legacy_columns": 156,
443
+ "new_columns_added": [
444
+ "docdb_family_size",
445
+ "applicant_person_ids",
446
+ "applicant_names",
447
+ "applicant_countries",
448
+ "applicant_addresses",
449
+ "inventor_person_ids",
450
+ "inventor_names",
451
+ "inventor_countries",
452
+ "inventor_addresses",
453
+ "publication_ids",
454
+ "publication_numbers",
455
+ "publication_dates",
456
+ "priority_appln_ids",
457
+ "country_kr",
458
+ "country_us",
459
+ "country_cn",
460
+ "country_fill_method",
461
+ "patstat_release",
462
+ "record_source"
463
+ ],
464
+ "final_columns": 175,
465
+ "outputs": {
466
+ "new_integrated": "/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat/final_master_20260712/patstat_ai_new_collection_2023_2026_integrated_country_filled.csv.gz",
467
+ "complete_master": "/Users/deep1003/data3/webofscience_ai_global_export/bibtex/ai_policy_organized_20260619/patstat/final_master_20260712/patstat_ai_complete_master_legacy_priority_20260712.csv.gz"
468
+ },
469
+ "final_country_totals": {
470
+ "KR": 170936,
471
+ "US": 481680,
472
+ "CN": 1105478
473
+ },
474
+ "final_fill_method_counts": {
475
+ "none": 126774,
476
+ "applicant": 982860,
477
+ "office": 980540,
478
+ "name": 64529,
479
+ "family": 169352,
480
+ "inventor": 6498
481
+ },
482
+ "final_office_country_totals": {
483
+ "FR": {
484
+ "KR": 74,
485
+ "US": 957,
486
+ "CN": 27
487
+ },
488
+ "GB": {
489
+ "KR": 298,
490
+ "US": 4634,
491
+ "CN": 233
492
+ },
493
+ "CH": {
494
+ "KR": 3,
495
+ "US": 224,
496
+ "CN": 12
497
+ },
498
+ "US": {
499
+ "KR": 25255,
500
+ "US": 348676,
501
+ "CN": 23673
502
+ },
503
+ "DE": {
504
+ "KR": 539,
505
+ "US": 5248,
506
+ "CN": 320
507
+ },
508
+ "AT": {
509
+ "KR": 40,
510
+ "US": 1313,
511
+ "CN": 32
512
+ },
513
+ "BE": {
514
+ "KR": 0,
515
+ "US": 171,
516
+ "CN": 83
517
+ },
518
+ "ES": {
519
+ "KR": 359,
520
+ "US": 2673,
521
+ "CN": 493
522
+ },
523
+ "NL": {
524
+ "KR": 32,
525
+ "US": 172,
526
+ "CN": 489
527
+ },
528
+ "SE": {
529
+ "KR": 33,
530
+ "US": 28,
531
+ "CN": 2
532
+ },
533
+ "SU": {
534
+ "KR": 3,
535
+ "US": 15,
536
+ "CN": 0
537
+ },
538
+ "DK": {
539
+ "KR": 75,
540
+ "US": 1667,
541
+ "CN": 108
542
+ },
543
+ "OA": {
544
+ "KR": 0,
545
+ "US": 2,
546
+ "CN": 0
547
+ },
548
+ "LU": {
549
+ "KR": 3,
550
+ "US": 26,
551
+ "CN": 2421
552
+ },
553
+ "FI": {
554
+ "KR": 5,
555
+ "US": 123,
556
+ "CN": 13
557
+ },
558
+ "AU": {
559
+ "KR": 440,
560
+ "US": 8961,
561
+ "CN": 1524
562
+ },
563
+ "CA": {
564
+ "KR": 99,
565
+ "US": 10062,
566
+ "CN": 250
567
+ },
568
+ "BG": {
569
+ "KR": 0,
570
+ "US": 6,
571
+ "CN": 0
572
+ },
573
+ "IE": {
574
+ "KR": 0,
575
+ "US": 19,
576
+ "CN": 21
577
+ },
578
+ "CS": {
579
+ "KR": 0,
580
+ "US": 3,
581
+ "CN": 0
582
+ },
583
+ "YU": {
584
+ "KR": 0,
585
+ "US": 4,
586
+ "CN": 0
587
+ },
588
+ "NO": {
589
+ "KR": 3,
590
+ "US": 697,
591
+ "CN": 3
592
+ },
593
+ "ZA": {
594
+ "KR": 15,
595
+ "US": 622,
596
+ "CN": 462
597
+ },
598
+ "IT": {
599
+ "KR": 8,
600
+ "US": 228,
601
+ "CN": 0
602
+ },
603
+ "DD": {
604
+ "KR": 0,
605
+ "US": 2,
606
+ "CN": 0
607
+ },
608
+ "AR": {
609
+ "KR": 0,
610
+ "US": 195,
611
+ "CN": 3
612
+ },
613
+ "JP": {
614
+ "KR": 3177,
615
+ "US": 18154,
616
+ "CN": 4106
617
+ },
618
+ "IN": {
619
+ "KR": 3,
620
+ "US": 16,
621
+ "CN": 0
622
+ },
623
+ "PH": {
624
+ "KR": 14,
625
+ "US": 62,
626
+ "CN": 15
627
+ },
628
+ "MT": {
629
+ "KR": 0,
630
+ "US": 1,
631
+ "CN": 0
632
+ },
633
+ "KR": {
634
+ "KR": 127998,
635
+ "US": 10596,
636
+ "CN": 2252
637
+ },
638
+ "EG": {
639
+ "KR": 0,
640
+ "US": 12,
641
+ "CN": 0
642
+ },
643
+ "HU": {
644
+ "KR": 0,
645
+ "US": 22,
646
+ "CN": 1
647
+ },
648
+ "MX": {
649
+ "KR": 53,
650
+ "US": 1633,
651
+ "CN": 198
652
+ },
653
+ "PL": {
654
+ "KR": 33,
655
+ "US": 268,
656
+ "CN": 73
657
+ },
658
+ "GR": {
659
+ "KR": 3,
660
+ "US": 23,
661
+ "CN": 0
662
+ },
663
+ "BR": {
664
+ "KR": 24,
665
+ "US": 791,
666
+ "CN": 84
667
+ },
668
+ "PT": {
669
+ "KR": 9,
670
+ "US": 143,
671
+ "CN": 35
672
+ },
673
+ "SG": {
674
+ "KR": 0,
675
+ "US": 19,
676
+ "CN": 1
677
+ },
678
+ "EP": {
679
+ "KR": 3927,
680
+ "US": 25097,
681
+ "CN": 4759
682
+ },
683
+ "JO": {
684
+ "KR": 0,
685
+ "US": 5,
686
+ "CN": 0
687
+ },
688
+ "WO": {
689
+ "KR": 429,
690
+ "US": 4798,
691
+ "CN": 1231
692
+ },
693
+ "MY": {
694
+ "KR": 74,
695
+ "US": 453,
696
+ "CN": 100
697
+ },
698
+ "RO": {
699
+ "KR": 0,
700
+ "US": 3,
701
+ "CN": 1
702
+ },
703
+ "CN": {
704
+ "KR": 6201,
705
+ "US": 25208,
706
+ "CN": 1060051
707
+ },
708
+ "MA": {
709
+ "KR": 0,
710
+ "US": 13,
711
+ "CN": 3
712
+ },
713
+ "IL": {
714
+ "KR": 13,
715
+ "US": 908,
716
+ "CN": 8
717
+ },
718
+ "MC": {
719
+ "KR": 2,
720
+ "US": 1,
721
+ "CN": 2
722
+ },
723
+ "TW": {
724
+ "KR": 1312,
725
+ "US": 4863,
726
+ "CN": 1844
727
+ },
728
+ "TR": {
729
+ "KR": 2,
730
+ "US": 9,
731
+ "CN": 7
732
+ },
733
+ "SI": {
734
+ "KR": 0,
735
+ "US": 1,
736
+ "CN": 0
737
+ },
738
+ "SK": {
739
+ "KR": 1,
740
+ "US": 7,
741
+ "CN": 0
742
+ },
743
+ "RU": {
744
+ "KR": 354,
745
+ "US": 1412,
746
+ "CN": 488
747
+ },
748
+ "UA": {
749
+ "KR": 4,
750
+ "US": 63,
751
+ "CN": 4
752
+ },
753
+ "CZ": {
754
+ "KR": 0,
755
+ "US": 28,
756
+ "CN": 0
757
+ },
758
+ "EE": {
759
+ "KR": 0,
760
+ "US": 5,
761
+ "CN": 0
762
+ },
763
+ "GE": {
764
+ "KR": 0,
765
+ "US": 15,
766
+ "CN": 1
767
+ },
768
+ "AP": {
769
+ "KR": 0,
770
+ "US": 9,
771
+ "CN": 0
772
+ },
773
+ "SA": {
774
+ "KR": 8,
775
+ "US": 87,
776
+ "CN": 12
777
+ },
778
+ "EA": {
779
+ "KR": 4,
780
+ "US": 97,
781
+ "CN": 12
782
+ },
783
+ "LV": {
784
+ "KR": 0,
785
+ "US": 2,
786
+ "CN": 0
787
+ },
788
+ "HR": {
789
+ "KR": 0,
790
+ "US": 0,
791
+ "CN": 0
792
+ },
793
+ "PE": {
794
+ "KR": 1,
795
+ "US": 13,
796
+ "CN": 0
797
+ },
798
+ "HK": {
799
+ "KR": 3,
800
+ "US": 59,
801
+ "CN": 13
802
+ },
803
+ "MD": {
804
+ "KR": 0,
805
+ "US": 1,
806
+ "CN": 0
807
+ },
808
+ "GC": {
809
+ "KR": 0,
810
+ "US": 0,
811
+ "CN": 0
812
+ },
813
+ "LT": {
814
+ "KR": 0,
815
+ "US": 23,
816
+ "CN": 4
817
+ },
818
+ "NI": {
819
+ "KR": 3,
820
+ "US": 3,
821
+ "CN": 0
822
+ },
823
+ "TJ": {
824
+ "KR": 0,
825
+ "US": 0,
826
+ "CN": 0
827
+ },
828
+ "RS": {
829
+ "KR": 0,
830
+ "US": 9,
831
+ "CN": 4
832
+ },
833
+ "ME": {
834
+ "KR": 0,
835
+ "US": 3,
836
+ "CN": 0
837
+ },
838
+ "CO": {
839
+ "KR": 0,
840
+ "US": 7,
841
+ "CN": 0
842
+ },
843
+ "SM": {
844
+ "KR": 0,
845
+ "US": 4,
846
+ "CN": 0
847
+ },
848
+ "VN": {
849
+ "KR": 0,
850
+ "US": 0,
851
+ "CN": 0
852
+ },
853
+ "IS": {
854
+ "KR": 0,
855
+ "US": 1,
856
+ "CN": 0
857
+ },
858
+ "CU": {
859
+ "KR": 0,
860
+ "US": 1,
861
+ "CN": 0
862
+ },
863
+ "UY": {
864
+ "KR": 0,
865
+ "US": 2,
866
+ "CN": 0
867
+ },
868
+ "KE": {
869
+ "KR": 0,
870
+ "US": 1,
871
+ "CN": 0
872
+ },
873
+ "ID": {
874
+ "KR": 0,
875
+ "US": 0,
876
+ "CN": 0
877
+ },
878
+ "ZW": {
879
+ "KR": 0,
880
+ "US": 1,
881
+ "CN": 0
882
+ }
883
+ },
884
+ "final_country_flags_note": "Legacy rows use legacy-derived country flags; new-only rows use new-collection-derived flags. Existing rows win on overlap."
885
+ }
metadata/ipc_cpc_backfill_report.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": "applied",
3
+ "years": [
4
+ 1950,
5
+ 2026
6
+ ],
7
+ "rows": 2330553,
8
+ "download_app_ids": 6186011,
9
+ "filled_blank_rows": {
10
+ "ipc": 1846990,
11
+ "cpc": 138
12
+ },
13
+ "rule": "existing nonblank values preserved; only blanks filled"
14
+ }
metadata/ipc_cpc_missingness_by_year.csv ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ year,rows,ipc_present,ipc_missing,ipc_missing_pct,cpc_present,cpc_missing,cpc_missing_pct,both_present,both_missing,ipc_missing_cpc_present,ipc_present_cpc_missing
2
+ 1950,34,0,34,100.0,34,0,0.0,0,0,34,0
3
+ 1951,84,0,84,100.0,84,0,0.0,0,0,84,0
4
+ 1952,78,0,78,100.0,78,0,0.0,0,0,78,0
5
+ 1953,87,0,87,100.0,87,0,0.0,0,0,87,0
6
+ 1954,108,0,108,100.0,107,1,0.9259,0,1,107,0
7
+ 1955,142,0,142,100.0,142,0,0.0,0,0,142,0
8
+ 1956,157,0,157,100.0,157,0,0.0,0,0,157,0
9
+ 1957,193,0,193,100.0,189,4,2.0725,0,4,189,0
10
+ 1958,229,0,229,100.0,227,2,0.8734,0,2,227,0
11
+ 1959,254,0,254,100.0,250,4,1.5748,0,4,250,0
12
+ 1960,278,0,278,100.0,275,3,1.0791,0,3,275,0
13
+ 1961,334,0,334,100.0,332,2,0.5988,0,2,332,0
14
+ 1962,391,0,391,100.0,388,3,0.7673,0,3,388,0
15
+ 1963,380,0,380,100.0,377,3,0.7895,0,3,377,0
16
+ 1964,482,0,482,100.0,479,3,0.6224,0,3,479,0
17
+ 1965,476,0,476,100.0,473,3,0.6303,0,3,473,0
18
+ 1966,513,0,513,100.0,510,3,0.5848,0,3,510,0
19
+ 1967,458,0,458,100.0,456,2,0.4367,0,2,456,0
20
+ 1968,506,0,506,100.0,503,3,0.5929,0,3,503,0
21
+ 1969,560,0,560,100.0,551,9,1.6071,0,9,551,0
22
+ 1970,697,0,697,100.0,685,12,1.7217,0,12,685,0
23
+ 1971,785,0,785,100.0,734,51,6.4968,0,51,734,0
24
+ 1972,974,0,974,100.0,922,52,5.3388,0,52,922,0
25
+ 1973,920,0,920,100.0,841,79,8.587,0,79,841,0
26
+ 1974,1019,0,1019,100.0,919,100,9.8135,0,100,919,0
27
+ 1975,1173,0,1173,100.0,967,206,17.5618,0,206,967,0
28
+ 1976,1363,0,1363,100.0,1020,343,25.1651,0,343,1020,0
29
+ 1977,1439,0,1439,100.0,1039,400,27.7971,0,400,1039,0
30
+ 1978,1636,0,1636,100.0,1068,568,34.7188,0,568,1068,0
31
+ 1979,1973,0,1973,100.0,1238,735,37.2529,0,735,1238,0
32
+ 1980,2463,0,2463,100.0,1826,637,25.8628,0,637,1826,0
33
+ 1981,2506,0,2506,100.0,1981,525,20.9497,0,525,1981,0
34
+ 1982,3157,0,3157,100.0,2365,792,25.0871,0,792,2365,0
35
+ 1983,3248,0,3248,100.0,2274,974,29.9877,0,974,2274,0
36
+ 1984,3561,0,3561,100.0,2407,1154,32.4066,0,1154,2407,0
37
+ 1985,3670,0,3670,100.0,2317,1353,36.8665,0,1353,2317,0
38
+ 1986,4216,0,4216,100.0,2632,1584,37.5712,0,1584,2632,0
39
+ 1987,4594,0,4594,100.0,2816,1778,38.7027,0,1778,2816,0
40
+ 1988,5204,0,5204,100.0,3359,1845,35.4535,0,1845,3359,0
41
+ 1989,5395,0,5395,100.0,3703,1692,31.3624,0,1692,3703,0
42
+ 1990,6438,0,6438,100.0,4583,1855,28.8133,0,1855,4583,0
43
+ 1991,6679,0,6679,100.0,4841,1838,27.5191,0,1838,4841,0
44
+ 1992,6892,0,6892,100.0,5085,1807,26.2188,0,1807,5085,0
45
+ 1993,7517,0,7517,100.0,5730,1787,23.7728,0,1787,5730,0
46
+ 1994,8682,0,8682,100.0,6913,1769,20.3755,0,1769,6913,0
47
+ 1995,9862,0,9862,100.0,8250,1612,16.3456,0,1612,8250,0
48
+ 1996,10899,0,10899,100.0,9245,1654,15.1757,0,1654,9245,0
49
+ 1997,12857,0,12857,100.0,11001,1856,14.4357,0,1856,11001,0
50
+ 1998,13940,0,13940,100.0,11997,1943,13.9383,0,1943,11997,0
51
+ 1999,15677,0,15677,100.0,13789,1888,12.0431,0,1888,13789,0
52
+ 2000,19423,0,19423,100.0,17160,2263,11.6511,0,2263,17160,0
53
+ 2001,19620,0,19620,100.0,17341,2279,11.6157,0,2279,17341,0
54
+ 2002,20946,0,20946,100.0,18004,2942,14.0456,0,2942,18004,0
55
+ 2003,23145,0,23145,100.0,19646,3499,15.1177,0,3499,19646,0
56
+ 2004,24188,0,24188,100.0,20616,3572,14.7677,0,3572,20616,0
57
+ 2005,26584,0,26584,100.0,22637,3947,14.8473,0,3947,22637,0
58
+ 2006,28023,0,28023,100.0,23672,4351,15.5265,0,4351,23672,0
59
+ 2007,30160,0,30160,100.0,25115,5045,16.7275,0,5045,25115,0
60
+ 2008,31891,0,31891,100.0,25831,6060,19.0022,0,6060,25831,0
61
+ 2009,31944,0,31944,100.0,25260,6684,20.9241,0,6684,25260,0
62
+ 2010,33923,0,33923,100.0,26550,7373,21.7345,0,7373,26550,0
63
+ 2011,39546,0,39546,100.0,30949,8597,21.7392,0,8597,30949,0
64
+ 2012,47172,0,47172,100.0,36173,10999,23.3168,0,10999,36173,0
65
+ 2013,53625,0,53625,100.0,41192,12433,23.1851,0,12433,41192,0
66
+ 2014,60998,0,60998,100.0,47690,13308,21.8171,0,13308,47690,0
67
+ 2015,74036,0,74036,100.0,56048,17988,24.2963,0,17988,56048,0
68
+ 2016,95000,0,95000,100.0,78423,16577,17.4495,0,16577,78423,0
69
+ 2017,119062,0,119062,100.0,96766,22296,18.7264,0,22296,96766,0
70
+ 2018,147788,0,147788,100.0,123672,24116,16.318,0,24116,123672,0
71
+ 2019,184262,0,184262,100.0,154119,30143,16.3588,0,30143,154119,0
72
+ 2020,206286,0,206286,100.0,174828,31458,15.2497,0,31458,174828,0
73
+ 2021,199314,0,199314,100.0,166181,33133,16.6235,0,33133,166181,0
74
+ 2022,149333,0,149333,100.0,122751,26582,17.8005,0,26582,122751,0
75
+ 2023,216635,191500,25135,11.6025,147404,69231,31.9574,123564,1295,23840,67936
76
+ 2024,202540,198424,4116,2.0322,143919,58621,28.9429,139911,108,4008,58513
77
+ 2025,89881,89753,128,0.1424,65809,24072,26.7821,65683,2,126,24070
78
+ 2026,9,9,0,0.0,1,8,88.8889,1,0,0,8
79
+ 9999,39,0,39,100.0,39,0,0.0,0,0,39,0
metadata/schema.json ADDED
@@ -0,0 +1,877 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "name": "app_id",
4
+ "type": "string",
5
+ "nullable": true
6
+ },
7
+ {
8
+ "name": "patent_office",
9
+ "type": "string",
10
+ "nullable": true
11
+ },
12
+ {
13
+ "name": "app_num",
14
+ "type": "string",
15
+ "nullable": true
16
+ },
17
+ {
18
+ "name": "priority_year",
19
+ "type": "string",
20
+ "nullable": true
21
+ },
22
+ {
23
+ "name": "title",
24
+ "type": "string",
25
+ "nullable": true
26
+ },
27
+ {
28
+ "name": "abstract",
29
+ "type": "string",
30
+ "nullable": true
31
+ },
32
+ {
33
+ "name": "family_size",
34
+ "type": "string",
35
+ "nullable": true
36
+ },
37
+ {
38
+ "name": "granted",
39
+ "type": "string",
40
+ "nullable": true
41
+ },
42
+ {
43
+ "name": "ipc_count",
44
+ "type": "string",
45
+ "nullable": true
46
+ },
47
+ {
48
+ "name": "cpc_count",
49
+ "type": "string",
50
+ "nullable": true
51
+ },
52
+ {
53
+ "name": "applicant_info",
54
+ "type": "string",
55
+ "nullable": true
56
+ },
57
+ {
58
+ "name": "applicant_std_name_ids",
59
+ "type": "string",
60
+ "nullable": true
61
+ },
62
+ {
63
+ "name": "applicant_sectors",
64
+ "type": "string",
65
+ "nullable": true
66
+ },
67
+ {
68
+ "name": "applicant_ctry_codes",
69
+ "type": "string",
70
+ "nullable": true
71
+ },
72
+ {
73
+ "name": "inventor_info",
74
+ "type": "string",
75
+ "nullable": true
76
+ },
77
+ {
78
+ "name": "inventor_sectors",
79
+ "type": "string",
80
+ "nullable": true
81
+ },
82
+ {
83
+ "name": "inventor_ctry_codes",
84
+ "type": "string",
85
+ "nullable": true
86
+ },
87
+ {
88
+ "name": "all_ipc_codes",
89
+ "type": "string",
90
+ "nullable": true
91
+ },
92
+ {
93
+ "name": "has_ai_core_code",
94
+ "type": "string",
95
+ "nullable": true
96
+ },
97
+ {
98
+ "name": "machine_learning",
99
+ "type": "string",
100
+ "nullable": true
101
+ },
102
+ {
103
+ "name": "neural_network",
104
+ "type": "string",
105
+ "nullable": true
106
+ },
107
+ {
108
+ "name": "deep_learning",
109
+ "type": "string",
110
+ "nullable": true
111
+ },
112
+ {
113
+ "name": "reinforcement_learning",
114
+ "type": "string",
115
+ "nullable": true
116
+ },
117
+ {
118
+ "name": "probabilistic_model",
119
+ "type": "string",
120
+ "nullable": true
121
+ },
122
+ {
123
+ "name": "svm",
124
+ "type": "string",
125
+ "nullable": true
126
+ },
127
+ {
128
+ "name": "fuzzy_logic",
129
+ "type": "string",
130
+ "nullable": true
131
+ },
132
+ {
133
+ "name": "expert_system",
134
+ "type": "string",
135
+ "nullable": true
136
+ },
137
+ {
138
+ "name": "genetic_evolutionary",
139
+ "type": "string",
140
+ "nullable": true
141
+ },
142
+ {
143
+ "name": "computer_vision",
144
+ "type": "string",
145
+ "nullable": true
146
+ },
147
+ {
148
+ "name": "nlp",
149
+ "type": "string",
150
+ "nullable": true
151
+ },
152
+ {
153
+ "name": "speech",
154
+ "type": "string",
155
+ "nullable": true
156
+ },
157
+ {
158
+ "name": "robotics",
159
+ "type": "string",
160
+ "nullable": true
161
+ },
162
+ {
163
+ "name": "planning_control",
164
+ "type": "string",
165
+ "nullable": true
166
+ },
167
+ {
168
+ "name": "knowledge_reasoning",
169
+ "type": "string",
170
+ "nullable": true
171
+ },
172
+ {
173
+ "name": "distributed_ai",
174
+ "type": "string",
175
+ "nullable": true
176
+ },
177
+ {
178
+ "name": "predictive_analytics",
179
+ "type": "string",
180
+ "nullable": true
181
+ },
182
+ {
183
+ "name": "autonomous_vehicle",
184
+ "type": "string",
185
+ "nullable": true
186
+ },
187
+ {
188
+ "name": "physical_ai",
189
+ "type": "string",
190
+ "nullable": true
191
+ },
192
+ {
193
+ "name": "healthcare_ai",
194
+ "type": "string",
195
+ "nullable": true
196
+ },
197
+ {
198
+ "name": "generative_ai",
199
+ "type": "string",
200
+ "nullable": true
201
+ },
202
+ {
203
+ "name": "categories",
204
+ "type": "string",
205
+ "nullable": true
206
+ },
207
+ {
208
+ "name": "n_categories",
209
+ "type": "string",
210
+ "nullable": true
211
+ },
212
+ {
213
+ "name": "ai_technique",
214
+ "type": "string",
215
+ "nullable": true
216
+ },
217
+ {
218
+ "name": "ai_functional",
219
+ "type": "string",
220
+ "nullable": true
221
+ },
222
+ {
223
+ "name": "ai_application",
224
+ "type": "string",
225
+ "nullable": true
226
+ },
227
+ {
228
+ "name": "has_ai_core_ipc",
229
+ "type": "string",
230
+ "nullable": true
231
+ },
232
+ {
233
+ "name": "is_ai",
234
+ "type": "string",
235
+ "nullable": true
236
+ },
237
+ {
238
+ "name": "classification_basis",
239
+ "type": "string",
240
+ "nullable": true
241
+ },
242
+ {
243
+ "name": "stage1_source",
244
+ "type": "string",
245
+ "nullable": true
246
+ },
247
+ {
248
+ "name": "ai_accelerator",
249
+ "type": "string",
250
+ "nullable": true
251
+ },
252
+ {
253
+ "name": "datacenter",
254
+ "type": "string",
255
+ "nullable": true
256
+ },
257
+ {
258
+ "name": "ai_networking",
259
+ "type": "string",
260
+ "nullable": true
261
+ },
262
+ {
263
+ "name": "ai_systems_sw",
264
+ "type": "string",
265
+ "nullable": true
266
+ },
267
+ {
268
+ "name": "ai_general",
269
+ "type": "string",
270
+ "nullable": true
271
+ },
272
+ {
273
+ "name": "categories_kw",
274
+ "type": "string",
275
+ "nullable": true
276
+ },
277
+ {
278
+ "name": "n_categories_kw",
279
+ "type": "string",
280
+ "nullable": true
281
+ },
282
+ {
283
+ "name": "has_ai_core_ipc_kw",
284
+ "type": "string",
285
+ "nullable": true
286
+ },
287
+ {
288
+ "name": "is_ai_kw",
289
+ "type": "string",
290
+ "nullable": true
291
+ },
292
+ {
293
+ "name": "keyword_language_scope",
294
+ "type": "string",
295
+ "nullable": true
296
+ },
297
+ {
298
+ "name": "translation_policy",
299
+ "type": "string",
300
+ "nullable": true
301
+ },
302
+ {
303
+ "name": "physical_rescue_humanoid",
304
+ "type": "string",
305
+ "nullable": true
306
+ },
307
+ {
308
+ "name": "physical_rescue_robotics",
309
+ "type": "string",
310
+ "nullable": true
311
+ },
312
+ {
313
+ "name": "physical_rescue_automation",
314
+ "type": "string",
315
+ "nullable": true
316
+ },
317
+ {
318
+ "name": "physical_rescue_autonomous_vehicle",
319
+ "type": "string",
320
+ "nullable": true
321
+ },
322
+ {
323
+ "name": "physical_ai_rescue_policy",
324
+ "type": "string",
325
+ "nullable": true
326
+ },
327
+ {
328
+ "name": "speech_audio",
329
+ "type": "string",
330
+ "nullable": true
331
+ },
332
+ {
333
+ "name": "robotics_control",
334
+ "type": "string",
335
+ "nullable": true
336
+ },
337
+ {
338
+ "name": "multimodal_ai",
339
+ "type": "string",
340
+ "nullable": true
341
+ },
342
+ {
343
+ "name": "agentic_ai",
344
+ "type": "string",
345
+ "nullable": true
346
+ },
347
+ {
348
+ "name": "ai_safety_alignment",
349
+ "type": "string",
350
+ "nullable": true
351
+ },
352
+ {
353
+ "name": "ai_infrastructure",
354
+ "type": "string",
355
+ "nullable": true
356
+ },
357
+ {
358
+ "name": "broad_ai_rescue_categories",
359
+ "type": "string",
360
+ "nullable": true
361
+ },
362
+ {
363
+ "name": "broad_ai_rescue_groups",
364
+ "type": "string",
365
+ "nullable": true
366
+ },
367
+ {
368
+ "name": "core_aggressive_machine_learning",
369
+ "type": "string",
370
+ "nullable": true
371
+ },
372
+ {
373
+ "name": "core_aggressive_neural_network",
374
+ "type": "string",
375
+ "nullable": true
376
+ },
377
+ {
378
+ "name": "core_aggressive_deep_learning",
379
+ "type": "string",
380
+ "nullable": true
381
+ },
382
+ {
383
+ "name": "core_aggressive_computer_vision",
384
+ "type": "string",
385
+ "nullable": true
386
+ },
387
+ {
388
+ "name": "core_aggressive_policy",
389
+ "type": "string",
390
+ "nullable": true
391
+ },
392
+ {
393
+ "name": "canonical_machine_learning",
394
+ "type": "string",
395
+ "nullable": true
396
+ },
397
+ {
398
+ "name": "canonical_deep_learning",
399
+ "type": "string",
400
+ "nullable": true
401
+ },
402
+ {
403
+ "name": "canonical_reinforcement_learning",
404
+ "type": "string",
405
+ "nullable": true
406
+ },
407
+ {
408
+ "name": "canonical_knowledge_reasoning",
409
+ "type": "string",
410
+ "nullable": true
411
+ },
412
+ {
413
+ "name": "canonical_computer_vision",
414
+ "type": "string",
415
+ "nullable": true
416
+ },
417
+ {
418
+ "name": "canonical_nlp",
419
+ "type": "string",
420
+ "nullable": true
421
+ },
422
+ {
423
+ "name": "canonical_speech_audio",
424
+ "type": "string",
425
+ "nullable": true
426
+ },
427
+ {
428
+ "name": "canonical_robotics_control",
429
+ "type": "string",
430
+ "nullable": true
431
+ },
432
+ {
433
+ "name": "canonical_expert_system",
434
+ "type": "string",
435
+ "nullable": true
436
+ },
437
+ {
438
+ "name": "canonical_multimodal_ai",
439
+ "type": "string",
440
+ "nullable": true
441
+ },
442
+ {
443
+ "name": "canonical_generative_ai",
444
+ "type": "string",
445
+ "nullable": true
446
+ },
447
+ {
448
+ "name": "canonical_agentic_ai",
449
+ "type": "string",
450
+ "nullable": true
451
+ },
452
+ {
453
+ "name": "canonical_physical_ai",
454
+ "type": "string",
455
+ "nullable": true
456
+ },
457
+ {
458
+ "name": "canonical_ai_safety_alignment",
459
+ "type": "string",
460
+ "nullable": true
461
+ },
462
+ {
463
+ "name": "canonical_ai_infrastructure",
464
+ "type": "string",
465
+ "nullable": true
466
+ },
467
+ {
468
+ "name": "old_categories_before_canonical",
469
+ "type": "string",
470
+ "nullable": true
471
+ },
472
+ {
473
+ "name": "canonical_categories",
474
+ "type": "string",
475
+ "nullable": true
476
+ },
477
+ {
478
+ "name": "canonical_n_categories",
479
+ "type": "string",
480
+ "nullable": true
481
+ },
482
+ {
483
+ "name": "canonical_taxonomy_policy",
484
+ "type": "string",
485
+ "nullable": true
486
+ },
487
+ {
488
+ "name": "appln_kind",
489
+ "type": "string",
490
+ "nullable": true
491
+ },
492
+ {
493
+ "name": "appln_filing_date",
494
+ "type": "string",
495
+ "nullable": true
496
+ },
497
+ {
498
+ "name": "appln_filing_year",
499
+ "type": "string",
500
+ "nullable": true
501
+ },
502
+ {
503
+ "name": "earliest_filing_date",
504
+ "type": "string",
505
+ "nullable": true
506
+ },
507
+ {
508
+ "name": "earliest_filing_id",
509
+ "type": "string",
510
+ "nullable": true
511
+ },
512
+ {
513
+ "name": "earliest_publn_date",
514
+ "type": "string",
515
+ "nullable": true
516
+ },
517
+ {
518
+ "name": "earliest_publn_year",
519
+ "type": "string",
520
+ "nullable": true
521
+ },
522
+ {
523
+ "name": "earliest_pat_publn_id",
524
+ "type": "string",
525
+ "nullable": true
526
+ },
527
+ {
528
+ "name": "docdb_family_id",
529
+ "type": "string",
530
+ "nullable": true
531
+ },
532
+ {
533
+ "name": "inpadoc_family_id",
534
+ "type": "string",
535
+ "nullable": true
536
+ },
537
+ {
538
+ "name": "nb_citing_docdb_fam",
539
+ "type": "string",
540
+ "nullable": true
541
+ },
542
+ {
543
+ "name": "nb_applicants",
544
+ "type": "string",
545
+ "nullable": true
546
+ },
547
+ {
548
+ "name": "nb_inventors",
549
+ "type": "string",
550
+ "nullable": true
551
+ },
552
+ {
553
+ "name": "receiving_office",
554
+ "type": "string",
555
+ "nullable": true
556
+ },
557
+ {
558
+ "name": "ipr_type",
559
+ "type": "string",
560
+ "nullable": true
561
+ },
562
+ {
563
+ "name": "internat_appln_id",
564
+ "type": "string",
565
+ "nullable": true
566
+ },
567
+ {
568
+ "name": "int_phase",
569
+ "type": "string",
570
+ "nullable": true
571
+ },
572
+ {
573
+ "name": "reg_phase",
574
+ "type": "string",
575
+ "nullable": true
576
+ },
577
+ {
578
+ "name": "nat_phase",
579
+ "type": "string",
580
+ "nullable": true
581
+ },
582
+ {
583
+ "name": "appln_nr_epodoc",
584
+ "type": "string",
585
+ "nullable": true
586
+ },
587
+ {
588
+ "name": "appln_nr_original",
589
+ "type": "string",
590
+ "nullable": true
591
+ },
592
+ {
593
+ "name": "priority_count",
594
+ "type": "string",
595
+ "nullable": true
596
+ },
597
+ {
598
+ "name": "publication_count",
599
+ "type": "string",
600
+ "nullable": true
601
+ },
602
+ {
603
+ "name": "first_publn_date",
604
+ "type": "string",
605
+ "nullable": true
606
+ },
607
+ {
608
+ "name": "first_grant_publn_date",
609
+ "type": "string",
610
+ "nullable": true
611
+ },
612
+ {
613
+ "name": "publication_info",
614
+ "type": "string",
615
+ "nullable": true
616
+ },
617
+ {
618
+ "name": "all_cpc_codes",
619
+ "type": "string",
620
+ "nullable": true
621
+ },
622
+ {
623
+ "name": "stage2_enrichment_available",
624
+ "type": "string",
625
+ "nullable": true
626
+ },
627
+ {
628
+ "name": "agentic_ai_before_aggressive",
629
+ "type": "string",
630
+ "nullable": true
631
+ },
632
+ {
633
+ "name": "agentic_ai_aggressive_keyword_strong",
634
+ "type": "string",
635
+ "nullable": true
636
+ },
637
+ {
638
+ "name": "agentic_ai_aggressive_keyword_contextual",
639
+ "type": "string",
640
+ "nullable": true
641
+ },
642
+ {
643
+ "name": "agentic_ai_aggressive_code_strong",
644
+ "type": "string",
645
+ "nullable": true
646
+ },
647
+ {
648
+ "name": "agentic_ai_aggressive_code_contextual",
649
+ "type": "string",
650
+ "nullable": true
651
+ },
652
+ {
653
+ "name": "agentic_ai_aggressive_newly_added",
654
+ "type": "string",
655
+ "nullable": true
656
+ },
657
+ {
658
+ "name": "agentic_ai_aggressive_policy",
659
+ "type": "string",
660
+ "nullable": true
661
+ },
662
+ {
663
+ "name": "deep_learning_before_aggressive",
664
+ "type": "string",
665
+ "nullable": true
666
+ },
667
+ {
668
+ "name": "deep_learning_aggressive_keyword_strong",
669
+ "type": "string",
670
+ "nullable": true
671
+ },
672
+ {
673
+ "name": "deep_learning_aggressive_keyword_contextual",
674
+ "type": "string",
675
+ "nullable": true
676
+ },
677
+ {
678
+ "name": "deep_learning_aggressive_code_strong",
679
+ "type": "string",
680
+ "nullable": true
681
+ },
682
+ {
683
+ "name": "deep_learning_aggressive_g06n3_context",
684
+ "type": "string",
685
+ "nullable": true
686
+ },
687
+ {
688
+ "name": "deep_learning_aggressive_newly_added",
689
+ "type": "string",
690
+ "nullable": true
691
+ },
692
+ {
693
+ "name": "deep_learning_aggressive_policy",
694
+ "type": "string",
695
+ "nullable": true
696
+ },
697
+ {
698
+ "name": "in_ai_infra_set",
699
+ "type": "string",
700
+ "nullable": true
701
+ },
702
+ {
703
+ "name": "ai_infra_partition",
704
+ "type": "string",
705
+ "nullable": true
706
+ },
707
+ {
708
+ "name": "ai_infra_subcategory_final",
709
+ "type": "string",
710
+ "nullable": true
711
+ },
712
+ {
713
+ "name": "canonical_generative_ai_before_aggressive",
714
+ "type": "string",
715
+ "nullable": true
716
+ },
717
+ {
718
+ "name": "generative_ai_aggressive_strict_pattern",
719
+ "type": "string",
720
+ "nullable": true
721
+ },
722
+ {
723
+ "name": "generative_ai_aggressive_contextual_pattern",
724
+ "type": "string",
725
+ "nullable": true
726
+ },
727
+ {
728
+ "name": "generative_ai_aggressive_ai_context",
729
+ "type": "string",
730
+ "nullable": true
731
+ },
732
+ {
733
+ "name": "generative_ai_aggressive_contextual_match",
734
+ "type": "string",
735
+ "nullable": true
736
+ },
737
+ {
738
+ "name": "generative_ai_aggressive_newly_added",
739
+ "type": "string",
740
+ "nullable": true
741
+ },
742
+ {
743
+ "name": "generative_ai_aggressive_policy",
744
+ "type": "string",
745
+ "nullable": true
746
+ },
747
+ {
748
+ "name": "appln_filing_year_stage3",
749
+ "type": "string",
750
+ "nullable": true
751
+ },
752
+ {
753
+ "name": "stage3_applicant_names_std",
754
+ "type": "string",
755
+ "nullable": true
756
+ },
757
+ {
758
+ "name": "stage3_applicant_countries",
759
+ "type": "string",
760
+ "nullable": true
761
+ },
762
+ {
763
+ "name": "stage3_applicant_affiliation",
764
+ "type": "string",
765
+ "nullable": true
766
+ },
767
+ {
768
+ "name": "stage3_inventor_names_std",
769
+ "type": "string",
770
+ "nullable": true
771
+ },
772
+ {
773
+ "name": "stage3_inventor_countries",
774
+ "type": "string",
775
+ "nullable": true
776
+ },
777
+ {
778
+ "name": "stage3_inventor_affiliation",
779
+ "type": "string",
780
+ "nullable": true
781
+ },
782
+ {
783
+ "name": "docdb_family_size",
784
+ "type": "string",
785
+ "nullable": true
786
+ },
787
+ {
788
+ "name": "applicant_person_ids",
789
+ "type": "string",
790
+ "nullable": true
791
+ },
792
+ {
793
+ "name": "applicant_names",
794
+ "type": "string",
795
+ "nullable": true
796
+ },
797
+ {
798
+ "name": "applicant_countries",
799
+ "type": "string",
800
+ "nullable": true
801
+ },
802
+ {
803
+ "name": "applicant_addresses",
804
+ "type": "string",
805
+ "nullable": true
806
+ },
807
+ {
808
+ "name": "inventor_person_ids",
809
+ "type": "string",
810
+ "nullable": true
811
+ },
812
+ {
813
+ "name": "inventor_names",
814
+ "type": "string",
815
+ "nullable": true
816
+ },
817
+ {
818
+ "name": "inventor_countries",
819
+ "type": "string",
820
+ "nullable": true
821
+ },
822
+ {
823
+ "name": "inventor_addresses",
824
+ "type": "string",
825
+ "nullable": true
826
+ },
827
+ {
828
+ "name": "publication_ids",
829
+ "type": "string",
830
+ "nullable": true
831
+ },
832
+ {
833
+ "name": "publication_numbers",
834
+ "type": "string",
835
+ "nullable": true
836
+ },
837
+ {
838
+ "name": "publication_dates",
839
+ "type": "string",
840
+ "nullable": true
841
+ },
842
+ {
843
+ "name": "priority_appln_ids",
844
+ "type": "string",
845
+ "nullable": true
846
+ },
847
+ {
848
+ "name": "country_kr",
849
+ "type": "string",
850
+ "nullable": true
851
+ },
852
+ {
853
+ "name": "country_us",
854
+ "type": "string",
855
+ "nullable": true
856
+ },
857
+ {
858
+ "name": "country_cn",
859
+ "type": "string",
860
+ "nullable": true
861
+ },
862
+ {
863
+ "name": "country_fill_method",
864
+ "type": "string",
865
+ "nullable": true
866
+ },
867
+ {
868
+ "name": "patstat_release",
869
+ "type": "string",
870
+ "nullable": true
871
+ },
872
+ {
873
+ "name": "record_source",
874
+ "type": "string",
875
+ "nullable": true
876
+ }
877
+ ]