Hopp til innhold

← Alle seksjoner

Food-service hygiene inspections of nearby premises (Smilefjes)

food_inspections20 felterIkke i demoen
Kilde
Mattilsynet Smilefjes tilsynsresultater (saved copy)
Geografi
Rundt adressen
Regnes som foreldet etter
21 døgn
Tilgang
Krever API-nøkkel med tilgang til seksjonen
Kontraktversjon
1

Tilgjengelig med: kjøpt kvote eller avtalt plan (alle felt) · Priser

Hva dette ikke sier

Gjengitt ordrett fra seksjonens warnings-felt, slik API-et returnerer det. Vi oversetter dem ikke: en oversettelse ville vist noe annet enn det svaret ditt faktisk inneholder.

  • Each row is the latest inspection collected for one food-service premises within 1.5 km, nearest first. The grades are Mattilsynet's own values, stored as published, and are not interpreted here; inspection_date is the day of that inspection and can be years old. A grade describes that inspection, not the premises today, and is not a guarantee about the food or the kitchen. total_grade is the worst of the four theme grades Mattilsynet prints on the poster (routines_grade: Rutiner og ledelse; premises_grade: Lokaler og utstyr; food_handling_grade: Mathåndtering og tilberedning; labelling_grade: Merking og sporbarhet), each 0 no breach, 1 minor breach without follow-up, 2 breach requiring follow-up, 3 serious breach, 4 not applicable, 5 not assessed. hygiene_grade, cleanliness_grade and maintenance_grade are legacy names that Mattilsynet's data has never filled; they are always null.
  • Coverage is whatever the daily collection has stored (GET /coverage, source food_inspections): a premises can be missing because it is not inspected, newly opened, or because Mattilsynet's file carries no position, so a premises is placed only when its street address and postal code match the Kartverket address register unambiguously (the address points all within 150 m of each other and in one kommune); a range such as "3-5", a place name or a misspelt street leaves it unplaced and out of this section. latitude and longitude are that address point, not a surveyed position of the premises. An empty section is therefore not evidence that no food-service premises are nearby. Straight-line EPSG:25833 distance, not travel distance.
  • Sole traders (enkeltpersonforetak) and premises whose organisasjonsnummer does not match Enhetsregisteret are left out, because a sole trader's trading name is its owner's.
  • Licence: Mattilsynet publishes the results publicly; no licence text is stored with the data and none has been checked against a stated licence by Approach. Confirm Mattilsynet's terms before redistributing the section in bulk. Attribution: Mattilsynet.

Felter

8 av 20 felter er verdifelter — de som avgjør om en post faktisk sier noe. Resten er kontekst: identifikatorer, koder og tidsstempler.

FeltTypeRolle
inspection_idstring | nullkontekst
establishment_namestring | nullverdi
org_numberstring | nullkontekst
addressstring | nullkontekst
postal_codestring | nullkontekst
postal_areastring | nullkontekst
municipality_codestring | nullkontekst
inspection_datedate | nullverdi
total_gradestring | nullverdi
routines_gradestring | nullverdi
premises_gradestring | nullverdi
food_handling_gradestring | nullverdi
labelling_gradestring | nullverdi
hygiene_gradestring | nullkontekst
cleanliness_gradestring | nullkontekst
maintenance_gradestring | nullkontekst
latitudenumber | nullkontekst
longitudenumber | nullkontekst
straight_line_distance_minteger | null (m)verdi
updated_attimestamp | nullkontekst

Hent denne seksjonen

Send nøkkelen i X-API-Key-headeren. Seksjonen kan hentes med resten av adressen, eller alene med paginering.

curl --fail-with-body --silent --show-error \
  -H "X-API-Key: $APPROACH_API_KEY" \
  'https://api.approach.no/api/v1/addresses/285717643?include=food_inspections'

# paginert, én seksjon om gangen
curl --fail-with-body --silent --show-error \
  -H "X-API-Key: $APPROACH_API_KEY" \
  'https://api.approach.no/api/v1/addresses/285717643/sections/food_inspections?limit=25'

Hvorfor den ikke kan prøves her

Seksjonen er ikke en del av den offentlige demoprojeksjonen. Det er en lisens- og personvernavgjørelse, ikke et tegn på at dataene mangler: de serveres til kunder med tilgang til seksjonen.