The relevant columns for this dataset relating to site are:
site_id = Lämningsnummer = national_site_identifier
In addition, we have coordinates in the Swedish system, which could go under tbl_site_natgridrefs:
northing_3006
easting_3006
However, as these can be calculated from latitude and longitude, we will not retain them as per SEAD policy for not storing information that can be calculated from other information in the same data set.
Since some sites are missing a place_name, we decided to use the site_key information for the ones that don’t have one. This was accomplished in steps:
In the Entity supersite:
- the site_key was defined in as being made up of all of the information from the columns: location_precision, latitude, longitude, raa_id, site_type, uppdragsnummer, socken, landskap, site_id, place_name
- the place_name_fallback_raw was defined as being the same as site_key
In this Entity: - the extra column place_name_resolved is defined by the code
=coalesce(place_name, place_name_fallback_raw)

YAML for this entity as of 2026-09-22
name: site
type: entity
system_id: system_id
keys:
- site_key
columns:
- place_name
- longitude
- latitude
- lamningsnummer_1
- place_name_fallback_raw
- location_precision
- site_key
public_id: site_id
source: supersite
drop_duplicates:
- site_key
check_functional_dependency: false
extra_columns:
place_name_resolved: '=coalesce(place_name, place_name_fallback_raw)'