Skip to content

Commit

Permalink
refactor: remove no longer required town normalizations
Browse files Browse the repository at this point in the history
  • Loading branch information
iagocanalejas committed Aug 13, 2024
1 parent 57237cf commit 2a97b6b
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions rscraping/data/normalization/towns.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,8 @@
from rscraping.data.constants import SYNONYM_PORT, SYNONYMS

_NORMALIZED_TOWNS = {
"VILAGARCÍA DE AROUSA": [
["VILAXOAN"],
["VILAXOÁN"],
["VILAGARCIA"],
],
"DONOSTI": [
["SAN", "SEBASTIAN"],
["SAN", "SEBASTIÁN"],
["DONOSTIA"],
],
"PASAIA": [
["PASAI", "DONIBANE"],
["PASAI", "SAN", "JUAN"],
["PASAI", "SAN", "PEDRO"],
["SAN", "JUAN"],
["SAN", "PEDRO"],
],
"REDONDELA": [
["CHAPELA"],
["CESANTES"],
],
"FERROL": [["CABANA"]],
"A CORUÑA": [["ORZAN"]],
"A POBRA DO CARAMIÑAL": [["POBRA"], ["PUEBLA"]],
"MOAÑA": [
["MEIRA"],
["TIRAN"],
["TIRÁN"],
],
"MUROS": [["MUROS"], ["ESTEIRO"]],
"BOIRO": [["CABO", "CRUZ"]],
"OLEIROS": [["PERILLO"], ["MERA"]],
"RIVEIRA": [["RIVEIRA"], ["RIBEIRA"], ["AGUIÑO"]],
"O GROVE": [
["PEDRAS", "NEGRAS"],
["GROVE"],
],
"ASTILLERO": [["EL", "ASTILLERO"]],
"RIVEIRA": [["RIVEIRA"], ["RIBEIRA"]],
}

_PROVINCES = [
Expand Down

0 comments on commit 2a97b6b

Please sign in to comment.