Skip to content

Commit

Permalink
#status+conceptum+codicem < 10 not exported by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Jan 22, 2022
1 parent f51a134 commit 21ef0c2
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
### officinam/1603/1/1 (handcrafted data tables) _______________________________
# Anything on the 1613 is manual work.
!officinam/1603/1/1/1603_1_1.no1.tm.hxl.csv
!officinam/1603/1/100/1603_1_100.no1.tm.hxl.csv
!officinam/1603/1/51/1603_1_51.no1.tm.hxl.csv
!officinam/1603/1/101/1603_1_101.no1.tm.hxl.csv

### officinam/1613 (handcrafted data tables) ___________________________________
Expand Down
113 changes: 52 additions & 61 deletions officinam/1603/1/1/1603_1_1.no1.tm.hxl.csv
Original file line number Diff line number Diff line change
@@ -1,61 +1,52 @@
#item+conceptum+numerordinatio,#item+conceptum+codicem,#status+conceptum,#item+rem+i_qcc+is_zxxx+ix_n1603,#item+rem+i_qcc+is_zxxx+ix_wikiq,#item+rem+i_mul+is_zyyy,#item+rem+i_mul+is_zyyy+ix_trivium,#item+rem+i_mul+is_zyyy+ix_trivium+ix_iri,#item+rem+i_lat+is_latn,#item+rem+i_arb+is_arab
1603:1:1:1,1,,1603:1,,Bootstrapping; suggested base namespace for metadata about your multilingual ontology,,,,
1603:1:1:1:1,1_1,,1603:1:1,,//Numeroclatura Generālium ad MM ex Numerordĭnātĭo//@lat-Latn,,,,
1603:1:1:1:2,1_2,,1603:1:2,,/Dictiōnāria de symbolī numerīs/,,,/Dictiōnāria de symbolī numerīs/,
1603:1:1:1:3,1_3,,1603:1:3,,/Dictiōnāria de symbolī ab systemata scrīpta/,,,/Dictiōnāria de symbolī ab systemata scrīpta/,
1603:1:1:1:4,1_4,,1603:1:4,,/Dictiōnāria de systemata scrīpta/,,,/Dictiōnāria de systemata scrīpta/,
1603:1:1:1:5,1_5,,1603:1:5,,Concept of language,,,,
1603:1:1:1:10,1_10,,1603:1:10,,//(Reserved namespace to document numeric suffixes)//,,,,
1603:1:1:1:20,1_20,,1603:1:20,,"Concept of number, prebuild tables",,,,
1603:1:1:1:51,1_51,,1603:1:51,,//Dictiōnāria Linguārum ad MMXXII ex Numerordĭnātĭo//,,,//Dictiōnāria Linguārum ad MMXXII ex Numerordĭnātĭo//,
1603:1:1:1:101,1_101,,1603:1:101,,//Dictiōnāria Archīōrum ad MMXXII ex Numerordĭnātĭo//,,,//Dictiōnāria Archīōrum ad MMXXII ex Numerordĭnātĭo//,
1603:1:1:3,3,,1603:3,Q1093434,Commūnitās scientiae,[2003] Wikipedia,,Commūnitās scientiae,بعلم المواطنين
1603:1:1:3:12,3_12,,1603:3:12,Q2013,Vicidata,[2012] Wikidata,,Vicidata,
1603:1:1:3:12:6,3_12_6,,1603:3:12:6,Q18616576,//Speciālis collēctiōnī de Vicidata Proprietātī//,[6] (16 - 10) P,,//Speciālis collēctiōnī de Vicidata Proprietātī//,
1603:1:1:3:12:16,3_12_16,,1603:3:12:16,Q18616576,Vicidata Proprietātī,[16] P,,Vicidata Proprietātī,
1603:1:1:3:12:17,3_12_17,,1603:3:12:17,Q43649390,Vicidata rēs identitāte,[17] Q,,Vicidata rēs identitāte,
1603:1:1:3:1603,3_1603,,1603:3:1603,,/Communitary translations via Wikidata/,,,,
1603:1:1:3:1603:45:1,3_1603_45_1,,1603:3:1603:45:1,,,,,,
1603:1:1:13,13,,1603:13,,HXL Normae,[2013-12-01] HXL Standard,https://www.elrha.org/wp-content/uploads/2017/05/hif-alnap-unocha-exchange-language-case-study-2016-1.pdf,HXL Normae,
1603:1:1:13:1603,13_1603,,1603:13:1603,,/HXL replacement maps to other namespaces/@eng-Latn,,,,
1603:1:1:13:1603:49,13_1603_49,,1603:13:1603:49,,/HXL replacement maps to UN m49 from other namespaces/@eng-Latn,,,,
1603:1:1:17,17,,1603:17,,Preview namespace,,,,
1603:1:1:17:2,17_2,-1,1603:17:2,,Numeric to letter mappings,,,,
1603:1:1:17:2:60,17_2_60,-1,1603:17:2:60,,Prebuild equivalence betewn number and base 60 custom table used on 1603,,,,
1603:1:1:17:17,17_17,-1,1603:17:17,,"1603_17_17 deprecated, use 1603_3_12_6",,,Medicina,الطِّبُّ
1603:1:1:25,25,,1603:25,Q11190,Medicina,[1025] قانون در طب,https://archive.org/details/AlQaawnoonFiTTwibb/Al-Qaawnoon%20fi-t-Twibb/mode/2up,Mīlitāris scientiae,علوم عسكرية
1603:1:1:42,42,,1603:42,Q192386,Mīlitāris scientiae,[142] (142 -100) 魏伯陽 ,https://archive.org/search.php?query=title%3A%28%E6%AD%A6%E7%B6%93%E7%B8%BD%E8%A6%81%29,Forēnsis scientiae,علم الأدلة الجنائية
1603:1:1:44,44,,1603:44,Q495304,Forēnsis scientiae,,,Normās interimperia,
1603:1:1:44:1,44_1,,1603:44:1,Q99312209,//dictiōnāria de post mortis condici//,,,,
1603:1:1:44:142,44_142,,1603:44:142,,//dictiōnāria de vulnera ab arma ignifera//,[142] 魏伯陽 ,,,
1603:1:1:45,45,,1603:45,,Normās interimperia,[1945-10-24] Nationes Unitae,,(Interimperia) Locus cōdicī,
1603:1:1:45:1,45_1,,1603:45:1,,,,,,
1603:1:1:45:16,45_16,,1603:45:16,Q7200235,(Interimperia) Locus cōdicī,[16] P,https://en.wikipedia.org/wiki/Common_Operational_Datasets#P-codes,,
1603:1:1:45:16:?:0,45_16_?_0,,1603:45:16:?:0,,//imperium territōrium//,,,//imperium territōrium//,
1603:1:1:45:16:?:1,45_16_?_1,,1603:45:16:?:1,,//Infraimperium territōria ōrdō 1//,,,//Infraimperium territōria ōrdō 1//,
1603:1:1:45:16:?:2,45_16_?_2,,1603:45:16:?:2,,//Infraimperium territōria ōrdō 2//,,,//Infraimperium territōria ōrdō 2//,
1603:1:1:45:16:?:3,45_16_?_3,,1603:45:16:?:3,,//Infraimperium territōria ōrdō 3//,,,//Infraimperium territōria ōrdō 3//,
1603:1:1:45:16:?:4,45_16_?_4,,1603:45:16:?:4,,//Infraimperium territōria ōrdō 4//,,,//Infraimperium territōria ōrdō 4//,
1603:1:1:45:16:?:5,45_16_?_5,,1603:45:16:?:5,,//Infraimperium territōria ōrdō 5//,,,//Infraimperium territōria ōrdō 5//,
1603:1:1:45:16:?:6,45_16_?_6,,1603:45:16:?:6,,//Infraimperium territōria ōrdō 6//,,,//Infraimperium territōria ōrdō 6//,
1603:1:1:45:16:?:21:?,45_16_?_21_?,,1603:45:16:?:21:?,,(Interimperia) Locus cōdicī; exāctō (A1...A6),21] (0 + 1 + 2 + 3 + 4 + 5 + 6),,(Interimperia) Locus cōdicī; exāctō (A1...A6),
1603:1:1:45:16:900,45_16_900,,1603:45:16:900,,[private use] Entire world public P-Codes Adm 0 (>110),,,,
1603:1:1:45:16:901,45_16_901,,1603:45:16:901,,[private use] Entire world public P-Codes A.1 (>2500),,,,
1603:1:1:45:16:902,45_16_902,,1603:45:16:902,,[private use] Entire world public P-Codes A.2 (>33700),,,,
1603:1:1:45:16:903,45_16_903,,1603:45:16:903,,[private use] Entire world public P-Codes A.3 (>130500),,,,
1603:1:1:45:16:904,45_16_904,,1603:45:16:904,,[private use] Entire world public P-Codes A.4 (>265000),,,,
1603:1:1:45:16:905,45_16_905,,1603:45:16:905,,[private use] Entire world public P-Codes A.5,,,,
1603:1:1:45:16:906,45_16_906,,1603:45:16:906,,[private use] Entire world public P-Codes A.6,,,,
1603:1:1:45:16:916,45_16_916,,1603:45:16:916,,[meta] UN OCHA P-Code *WITHOUT* ISO 3166-1 prefix,,,,
1603:1:1:45:16:921,45_16_921,,1603:45:16:921,,"[private use] Entire world public P-Codes A.0 + A1, +A.2 + A.3 + A.4 + A5 + A.6 (> 430000)",[921] (0 + 1 + 2 + 3 + 4 + 5 + 6 + 900),,,
1603:1:1:45:49,45_49,,1603:45:49,,//Imperia et regiōnēs territōria cōdicēs//,[49] UN M49,https://unstats.un.org/unsd/publication/SeriesM/Series_M49_(1970)_en-fr.pdf,//Imperia et regiōnēs territōria cōdicēs//,
1603:1:1:47,47,,1603:47,Q1334738,Normās interindustriās,[1947-02-23] ISO,,Normās interindustriās,/معايير دولية/
1603:1:1:84,84,,1603:84,,Dentālis scientiae,,,Dentālis scientiae,طب الأسنان
1603:1:1:84:1,84_1,,1603:84:1,,Dictiōnāria dentāria,,,Dictiōnāria dentāria,
1603:1:1:87,87,,1603:87,,[Non-publicum] Unicode; suggested base namespace for related queries,[1987] Unicode,,,
1603:1:1:994,994,-1,1603:994,,/dentāle vocābulāriō/,,,,
1603:1:1:2600,2600,-1,1603:2600,,Multiplication tables,,,,
1603:1:1:2600:1,2600_1,-1,1603:2600:1,,Pre build tables with equivalence between numeric systems,,,,
1603:1:1:2600:2,2600_2,,1603:2600:2,,Prebuild equivalence betewn number and base 60 custom table used on 1603,,,,
1603:1:1:999999,999999,,1603:999999,,Data temporāriīs,,,Data temporāriīs,
1603:1:1:999999999,999999999,,1603:999999999,,/Non data files (used for software which generate data)/,,,,
#item+conceptum+numerordinatio,#item+conceptum+codicem,#status+conceptum,#status+conceptum+codicem,#item+rem+i_qcc+is_zxxx+ix_n1603,#item+rem+i_qcc+is_zxxx+ix_wikiq,#item+rem+i_mul+is_zyyy,#item+rem+i_mul+is_zyyy+ix_trivium,#item+rem+i_mul+is_zyyy+ix_trivium+ix_iri,#item+rem+i_lat+is_latn,#item+rem+i_arb+is_arab
1603:1:1:1,1,70,70,1603:1,,Bootstrapping; suggested base namespace for metadata about your multilingual ontology,,,,
1603:1:1:1:1,1_1,60,60,1603:1:1,,//Numeroclatura Generālium ad MM ex Numerordĭnātĭo//@lat-Latn,,,,
1603:1:1:1:2,1_2,20,20,1603:1:2,,/Dictiōnāria de symbolī numerīs/,,,/Dictiōnāria de symbolī numerīs/,
1603:1:1:1:3,1_3,20,20,1603:1:3,,/Dictiōnāria de symbolī ab systemata scrīpta/,,,/Dictiōnāria de symbolī ab systemata scrīpta/,
1603:1:1:1:4,1_4,20,20,1603:1:4,,/Dictiōnāria de systemata scrīpta/,,,/Dictiōnāria de systemata scrīpta/,
1603:1:1:1:5,1_5,10,10,1603:1:5,,Concept of language,,,,
1603:1:1:1:10,1_10,10,10,1603:1:10,,//(Reserved namespace to document numeric suffixes)//,,,,
1603:1:1:1:20,1_20,50,50,1603:1:20,,"Concept of number, prebuild tables",,,,
1603:1:1:1:51,1_51,50,50,1603:1:51,,//Dictiōnāria Linguārum ad MMXXII ex Numerordĭnātĭo//,,,//Dictiōnāria Linguārum ad MMXXII ex Numerordĭnātĭo//,
1603:1:1:1:101,1_101,50,50,1603:1:101,,//Dictiōnāria Archīōrum ad MMXXII ex Numerordĭnātĭo//,,,//Dictiōnāria Archīōrum ad MMXXII ex Numerordĭnātĭo//,
1603:1:1:3,3,50,50,1603:3,Q1093434,Commūnitās scientiae,[2003] Wikipedia,,Commūnitās scientiae,بعلم المواطنين
1603:1:1:3:12,3_12,50,50,1603:3:12,Q2013,Vicidata,[2012] Wikidata,,Vicidata,
1603:1:1:3:12:6,3_12_6,10,10,1603:3:12:6,Q18616576,//Speciālis collēctiōnī de Vicidata Proprietātī//,[6] (16 - 10) P,,//Speciālis collēctiōnī de Vicidata Proprietātī//,
1603:1:1:3:12:16,3_12_16,10,10,1603:3:12:16,Q18616576,Vicidata Proprietātī,[16] P,,Vicidata Proprietātī,
1603:1:1:3:12:17,3_12_17,10,10,1603:3:12:17,Q43649390,Vicidata rēs identitāte,[17] Q,,Vicidata rēs identitāte,
1603:1:1:3:1603,3_1603,10,10,1603:3:1603,,/Communitary translations via Wikidata/,,,,
1603:1:1:3:1603:45:1,3_1603_45_1,10,10,1603:3:1603:45:1,,,,,,
1603:1:1:13,13,10,10,1603:13,,HXL Normae,[2013-12-01] HXL Standard,https://www.elrha.org/wp-content/uploads/2017/05/hif-alnap-unocha-exchange-language-case-study-2016-1.pdf,HXL Normae,
1603:1:1:13:1603,13_1603,10,10,1603:13:1603,,/HXL replacement maps to other namespaces/@eng-Latn,,,,
1603:1:1:13:1603:49,13_1603_49,10,10,1603:13:1603:49,,/HXL replacement maps to UN m49 from other namespaces/@eng-Latn,,,,
1603:1:1:25,25,50,50,1603:25,Q11190,Medicina,[1025] قانون در طب,https://archive.org/details/AlQaawnoonFiTTwibb/Al-Qaawnoon%20fi-t-Twibb/mode/2up,Mīlitāris scientiae,علوم عسكرية
1603:1:1:42,42,50,50,1603:42,Q192386,Mīlitāris scientiae,[142] (142 -100) 魏伯陽 ,https://archive.org/search.php?query=title%3A%28%E6%AD%A6%E7%B6%93%E7%B8%BD%E8%A6%81%29,Forēnsis scientiae,علم الأدلة الجنائية
1603:1:1:44,44,50,50,1603:44,Q495304,Forēnsis scientiae,,,Normās interimperia,
1603:1:1:44:1,44_1,70,70,1603:44:1,Q99312209,//dictiōnāria de post mortis condici//,,,,
1603:1:1:44:142,44_142,70,70,1603:44:142,,//dictiōnāria de vulnera ab arma ignifera//,[142] 魏伯陽 ,,,
1603:1:1:45,45,20,20,1603:45,,Normās interimperia,[1945-10-24] Nationes Unitae,,(Interimperia) Locus cōdicī,
1603:1:1:45:1,45_1,20,20,1603:45:1,,,,,,
1603:1:1:45:16,45_16,20,20,1603:45:16,Q7200235,(Interimperia) Locus cōdicī,[16] P,https://en.wikipedia.org/wiki/Common_Operational_Datasets#P-codes,,
1603:1:1:45:16:?:0,45_16_?_0,20,20,1603:45:16:?:0,,//imperium territōrium//,,,//imperium territōrium//,
1603:1:1:45:16:?:1,45_16_?_1,20,20,1603:45:16:?:1,,//Infraimperium territōria ōrdō 1//,,,//Infraimperium territōria ōrdō 1//,
1603:1:1:45:16:?:2,45_16_?_2,20,20,1603:45:16:?:2,,//Infraimperium territōria ōrdō 2//,,,//Infraimperium territōria ōrdō 2//,
1603:1:1:45:16:?:3,45_16_?_3,20,20,1603:45:16:?:3,,//Infraimperium territōria ōrdō 3//,,,//Infraimperium territōria ōrdō 3//,
1603:1:1:45:16:?:4,45_16_?_4,20,20,1603:45:16:?:4,,//Infraimperium territōria ōrdō 4//,,,//Infraimperium territōria ōrdō 4//,
1603:1:1:45:16:?:5,45_16_?_5,20,20,1603:45:16:?:5,,//Infraimperium territōria ōrdō 5//,,,//Infraimperium territōria ōrdō 5//,
1603:1:1:45:16:?:6,45_16_?_6,20,20,1603:45:16:?:6,,//Infraimperium territōria ōrdō 6//,,,//Infraimperium territōria ōrdō 6//,
1603:1:1:45:16:?:21:?,45_16_?_21_?,20,20,1603:45:16:?:21:?,,(Interimperia) Locus cōdicī; exāctō (A1...A6),21] (0 + 1 + 2 + 3 + 4 + 5 + 6),,(Interimperia) Locus cōdicī; exāctō (A1...A6),
1603:1:1:45:16:900,45_16_900,20,20,1603:45:16:900,,[private use] Entire world public P-Codes Adm 0 (>110),,,,
1603:1:1:45:16:901,45_16_901,20,20,1603:45:16:901,,[private use] Entire world public P-Codes A.1 (>2500),,,,
1603:1:1:45:16:902,45_16_902,20,20,1603:45:16:902,,[private use] Entire world public P-Codes A.2 (>33700),,,,
1603:1:1:45:16:903,45_16_903,20,20,1603:45:16:903,,[private use] Entire world public P-Codes A.3 (>130500),,,,
1603:1:1:45:16:904,45_16_904,20,20,1603:45:16:904,,[private use] Entire world public P-Codes A.4 (>265000),,,,
1603:1:1:45:16:905,45_16_905,20,20,1603:45:16:905,,[private use] Entire world public P-Codes A.5,,,,
1603:1:1:45:16:906,45_16_906,20,20,1603:45:16:906,,[private use] Entire world public P-Codes A.6,,,,
1603:1:1:45:16:916,45_16_916,20,20,1603:45:16:916,,[meta] UN OCHA P-Code *WITHOUT* ISO 3166-1 prefix,,,,
1603:1:1:45:16:921,45_16_921,20,20,1603:45:16:921,,"[private use] Entire world public P-Codes A.0 + A1, +A.2 + A.3 + A.4 + A5 + A.6 (> 430000)",[921] (0 + 1 + 2 + 3 + 4 + 5 + 6 + 900),,,
1603:1:1:45:49,45_49,20,20,1603:45:49,,//Imperia et regiōnēs territōria cōdicēs//,[49] UN M49,https://unstats.un.org/unsd/publication/SeriesM/Series_M49_(1970)_en-fr.pdf,//Imperia et regiōnēs territōria cōdicēs//,
1603:1:1:47,47,50,50,1603:47,Q1334738,Normās interindustriās,[1947-02-23] ISO,,Normās interindustriās,/معايير دولية/
1603:1:1:84,84,70,70,1603:84,,Dentālis scientiae,,,Dentālis scientiae,طب الأسنان
1603:1:1:84:1,84_1,70,70,1603:84:1,,Dictiōnāria dentāria,,,Dictiōnāria dentāria,
1603:1:1:999999,999999,11,11,1603:999999,,Data temporāriīs,,,Data temporāriīs,
1603:1:1:999999999,999999999,11,11,1603:999999999,,/Non data files (used for software which generate data)/,,,,
15 changes: 15 additions & 0 deletions officinam/1603/1/51/1603_1_51.no1.tm.hxl.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#item+conceptum+numerordinatio,#item+conceptum+codicem,#status+conceptum,#status+conceptum+codicem,#item+rem+i_qcc+is_zxxx+ix_uid,#item+rem+i_qcc+is_zxxx+ix_csvsffxm,#item+rem+i_qcc+is_zxxx+ix_hxla,#item+rem+i_latn+is_latn,#item+rem+i_qcc+is_zxxx+ix_wikiq+ix_linguam,#item+rem+i_qcc+is_zxxx+ix_wikiq+ix_scriptum,#item+rem+i_qcc+is_zxxx+ix_wikilngm,#item+rem+i_qcc+is_zxxx+ix_glottocode,#item+rem+i_qcc+is_zxxx+ix_iso639p3a3
1603:1:51:1,1,90,19,ara-Arab,__i_ara__is_arab,+i_ara+is_arab,Lingua Arabica (Abecedarium Arabicum),Q13955,Q8196,ar,arab1395,ara
1603:1:51:2,2,90,19,ben-Beng,__i_ben__is_beng,+i_ben+is_beng,Lingua Bengali (?),Q9610,,bn,beng1280,ben
1603:1:51:3,3,90,19,grc-Grek,__i_grc__is_grek,+i_grc+is_grek,Lingua Graeca antiqua (Alphabetum Graecum),Q35497,Q8216,grc,anci1242,grc
1603:1:51:4,4,90,19,lat-Latn,__i_lat__is_latn,+i_lat+is_latn,Lingua Latina (Abecedarium Latinum),Q397,Q8229,la,lati1261,lat
1603:1:51:5,5,90,19,rus-Cyrl,__i_rus__is_cyrl,+i_rus+is_cyrl,Lingua Russica (Abecedarium Cyrillicum),Q7737,Q8209,ru,russ1263,rus
1603:1:51:6,6,60,19,san-Zzzz,__i_san__is_zzzz,+i_san+is_zzzz,Lingua Sanscrita,Q11059,,sa,sans1269,san
1603:1:51:100,100,60,19,por-Latn,__i_por__is_latn,+i_por+is_latn,,,,pt,,
1603:1:51:101,101,60,19,eng-Latn,__i_eng__is_latn,+i_eng+is_latn,,,,en,,
1603:1:51:102,102,60,19,fra-Latn,__i_fra__is_latn,+i_fra+is_latn,,,,fr,,
1603:1:51:103,103,60,19,nld-Latn,__i_nld__is_latn,+i_nld+is_latn,,Q7411,,nl,mode1257,nld
1603:1:51:104,104,60,19,deu-Latn,__i_deu__is_latn,+i_deu+is_latn,Lingua Germanica (Abecedarium Latinum),Q188,,de,stan1295,deu
1603:1:51:105,105,60,19,spa-Latn,__i_spa__is_latn,+i_spa+is_latn,Lingua Hispanica (Abecedarium Latinum),Q1321,,es,stan1288,spa
1603:1:51:106,106,60,19,ita-Latn,__i_ita__is_latn,+i_ita+is_latn,Lingua Italiana (Abecedarium Latinum),Q652,,it,ital1282,ita
1603:1:51:107,107,60,19,gle-Latn,__i_gle__is_latn,+i_gle+is_latn,Lingua Hibernica (Abecedarium Latinum),Q9142,,ga,iris1253,gle
19 changes: 19 additions & 0 deletions officinam/999999999/999999999.lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@

ROOTDIR="$(pwd)"

# If columns are defined (and not empty), we may remove some numbers before publishing
NUMERORDINATIO_STATUS_CONCEPTUM_MINIMAM="${NUMERORDINATIO_STATUS_CONCEPTUM_MINIMAM:-10}"
NUMERORDINATIO_STATUS_CONCEPTUM_CODICEM_MINIMAM="${NUMERORDINATIO_STATUS_CONCEPTUM_CODICEM_MINIMAM:-10}"

# FORCE_REDOWNLOAD="1" # Use if want ignore 1day local cache
# FORCE_CHANGED="1" # Use if want default 5 min change

Expand Down Expand Up @@ -274,6 +278,8 @@ file_download_if_necessary() {
#
# Globals:
# ROOTDIR
# NUMERORDINATIO_STATUS_CONCEPTUM_MINIMAM
# NUMERORDINATIO_STATUS_CONCEPTUM_CODICEM_MINIMAM
# Arguments:
# numerordinatio
# est_temporarium_fontem (default "1", from 99999/)
Expand Down Expand Up @@ -311,9 +317,13 @@ file_convert_numerordinatio_de_hxltm() {

echo "${FUNCNAME[0]} sources changed_recently. Reloading..."

# @TODO: implement NUMERORDINATIO_STATUS_CONCEPTUM_CODICEM_MINIMAM
# instead of hardcode 1|2|3|4|5|6|7|8|9

hxlcut --exclude="#meta" \
"$fontem_archivum" |
hxlselect --query="#item+conceptum+codicem>0" |
hxlselect --query='#status+conceptum+codicem~^(1|2|3|4|5|6|7|8|9)$' --reverse |
hxladd --before --spec="#item+conceptum+numerordinatio=${_prefix}:{{#item+conceptum+codicem}}" |
hxlreplace --map="${ROOTDIR}/1603/13/1603_13.r.hxl.csv" \
>"$objectivum_archivum_temporarium"
Expand All @@ -334,6 +344,15 @@ file_convert_numerordinatio_de_hxltm() {
file_update_if_necessary csv "$objectivum_archivum_temporarium" "$objectivum_archivum"
}


## Tem definidos
# cat 999999/1603/1/1/1603_1_1.tm.hxl.csv | hxlselect --query="#status+conceptum<0"
# cat 999999/1603/1/1/1603_1_1.tm.hxl.csv | hxlselect --query='#status+conceptum+codicem~^(1|2|3|4|5|6|7|8|9)$' --reverse
## Nao tem definidos
# cat 1603/45/1/1603_45_1.no1.tm.hxl.csv | hxlselect --query="#status+conceptum<0"
# cat 1603/45/1/1603_45_1.no1.tm.hxl.csv | hxlselect --query='#status+conceptum+codicem~^(1|2|3|4|5|6|7|8|9)$' --reverse


# @TODO: create helper to remove empty translations;
# @see https://github.com/wireservice/csvkit/issues/962
# Potential example:
Expand Down

0 comments on commit 21ef0c2

Please sign in to comment.