Skip to content

archaeo_super_prompt.dataset.thesauri

source package archaeo_super_prompt.dataset.thesauri

Code for loading thesaurus sets from data files.

Classes

Functions

source load_comune()list[tuple[int, str]]

Load the thesarus values for the "Comune" field.

source load_comune_with_provincie()tuple[DataFrame[ComuneData], DataFrame[ProvinciaData]]

Load the set of provincie thesaurus from an external reference table.

source class ComuneProvincia()

Bases : NamedTuple

Exhaustive data about a Comune.

source class Provincia()

Bases : NamedTuple

Exhaustive data about a Province.