Skip to content

Commit

Permalink
rdf+bcp47+hxl (#41), admin-l (#39), pcodes (#2): full drill 140 count…
Browse files Browse the repository at this point in the history
…ries, local only (time: 30m28,338s); before RDF relations
  • Loading branch information
fititnt committed Jun 12, 2022
1 parent cfc8bfe commit 731b579
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions officina/999999999/0/L999999999_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@
'+v_iso2': '+v_iso3166p1a2',
'+v_iso3': '+v_iso3166p1a3',
},
'+code+v_numerodinatio': {
'numerodinatio_est': True
},
'+name+v_unterm': {
# P1448: official name of the subject in its official language(s)
'wdata': 'P1448', # official name
Expand Down Expand Up @@ -2930,6 +2933,7 @@ def quod_hxl_de_caput_rei(res: str, data_exemplis: list = None) -> str:
suffīxum = suffīxum + '+' + _item.lower()

# Something weird happened

return '{0}{1}{2}'.format(praefīxum, suffīxum, lingua)

def quod_hxltm_de_hxl_rei(self, hxlhashtag: str) -> str:
Expand Down
11 changes: 9 additions & 2 deletions officina/999999999/1603_45_16.sh
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ bootstrap_1603_45_16__item() {
fi

objectivum_archivum_basi_lvl="${objectivum_archivum_basi}/${cod_level}"
# objectivum_archivum_no1="${objectivum_archivum_basi_lvl}/${numerordinatio_praefixo}_${unm49}_${cod_level}.no1.tm.hxl.csv"
objectivum_archivum_no1="${objectivum_archivum_basi_lvl}/${numerordinatio_praefixo}_${unm49}_${cod_level}.no1.tm.hxl.csv"

# set -x
Expand Down Expand Up @@ -492,6 +493,7 @@ bootstrap_999999_1603_45_16_neo() {
--methodus=xlsx_ad_hxltm \
--ordines="$cod_level" "$file_path" >"${objectivum_archivum_hxltm}"
set +x
# sleep 10
# return 0
# continue
done
Expand Down Expand Up @@ -1018,10 +1020,15 @@ __temp_download_external_cod_data() {
# __temp_preprocess_external_indexes
# exit 1

# @TODO manualy renamed 999999/1603/45/16/xlsx/aze.xlsx[aze_adm1]
# from 'admin0Name_en' to 'admin0Pcode' (2022-06-12 )

# __temp_download_external_cod_data
# exit 1
# bootstrap_1603_45_16__all
bootstrap_1603_45_16__item "1603_45_16_24" "24" "AGO" "AO" "3" "1" "0"
# echo "all"
bootstrap_1603_45_16__all
# bootstrap_1603_45_16__item "1603_45_16" "24" "AGO" "AO" "1" "1" "0"
# bootstrap_1603_45_16__item "1603_45_16" "24" "AGO" "AO" "3" "1" "0"
# __temp_preproces_quicktest_1603_16_24
exit 0

Expand Down

0 comments on commit 731b579

Please sign in to comment.