Nomenclature of territorial units for statistics

class eurostat.nuts.Regions(graph=None)[source]

Bases: ordf.vocab.skos.ConceptScheme

NUTS regions as an (incomplete) SKOS concept Scheme.

>>> regions = Regions()
>>> regions.load()
>>> scotland = regions.byName("scotland")
>>> print [str(name) for name in scotland.label]
['Scotland']
>>>
load(graph=None)[source]

Load NUTS regions into the given graph (or self.graph if None) from the Frei Universitat Berlin.

byName(name, graph=None)[source]

Return an instance for the given name, optionally from the given graph (otherwise from the store backing self.graph) and cache the result.

class eurostat.nuts.Region(scheme)[source]

Bases: ordf.vocab.skos.Concept

The concept of a NUTS region.

Previous topic

Eurostat RDF API

This Page