nx_lib_gbif.nx
buildroot/runtime/nx_lib_gbif.nx
about
nx_lib_gbif.nx -- ingest the library's REAL data: GBIF backbone-taxonomy
JSONL (one flat taxon object per line) into nx_lib_store. Each taxon becomes
a searchable record: title=scientificName, doi=taxonID, published=year(from
authorship), license=rank, abstract=classification lineage, authors=authorship.
Reuses the oa_* JSON field extractors. license_tier: ORIGINAL
dependencies 1 imports · 2 importers
imports: nx_lib_openalex.nx
imported by: nx_lib_gbif_bulk.nxnx_lib_gbif_probe.nx
structs
| none |
consts
| 7 | const K_MAGIC_1024: i64 = 1024 |
| 8 | const K_MAGIC_4096: i64 = 4096 |
| 9 | const K_MAGIC_16384: i64 = 16384 |
| 10 | const K_MAGIC_8388608: i64 = 8388608 |
functions
| 12 | func gb_isdig(c: i64) -> i64 { if c >= 0x30 { if c <= 0x39 { return 1 } } return 0 } called by 1: gb_year |
| 15 | func gb_year(src: *u8, srclen: i64, out: *u8) -> i64 |
| 29 | func gb_seg(json: *u8, s: i64, e: i64, key: *u8, label: *u8, out: *u8, off: i64) -> i64 |
| 44 | func nx_lib_gbif_ingest_buf(json: *u8, n: i64) -> i64 called by 2: mainmain calls 7: nx_lib_store_bulk_beginoa_stroa_numgb_yeargb_segnx_lib_store_bulk_add+1 |