Datakvalitetsmetrik

Quality Scores

Varje indikator inkluderar quality scores som visar nar den uppdaterades, vilken procentandel av data som ar ifylld och om kallan ar officiell eller uppskattad. Full transparens om din data.

Know your data.

Every indicator comes with quality metadata. Know exactly how fresh, complete, and accurate your data is before you use it.

GET /v1/lau/DE_11000000?include_quality=true
{
  "lau_code": "DE_11000000",
  "name": "Berlin",
  "country": "DE",
  "demographics": {
    "population": 3755251,
    "quality": {
      "freshness": 0.97,
      "completeness": 1.0,
      "accuracy": 0.99,
      "source": "Eurostat LAU 2024",
      "updated_at": "2024-03-01"
    }
  },
  "economy": {
    "gdp_per_capita": 43752.0,
    "quality": {
      "freshness": 0.88,
      "completeness": 0.98,
      "accuracy": 0.96,
      "source": "Eurostat NUTS3",
      "updated_at": "2023-12-15"
    }
  },
  "quality_score": 0.96
}

Four dimensions of quality

Each indicator is scored on four dimensions, giving you full transparency about the data you are using.

Freshness

How recently the data was updated from the source.

0.95 = updated within last 6 months

Completeness

Percentage of data fields that have values.

1.0 = all fields populated

Accuracy

Confidence level based on source reliability and methodology.

0.98 = official census data

Source

Original data source with traceability.

IBGE, INE, DataSUS, etc.

Quality-driven queries

Filter and sort by quality metrics to ensure your application always uses the best available data.

Filter by freshness

Only use data updated in the last year for time-sensitive decisions.

const freshData = await client.municipalities.list({
  min_freshness: 0.8
});

Require completeness

Ensure all required fields are populated before processing.

const complete = await client.municipalities.list({
  min_completeness: 1.0
});

Validate sources

Filter by specific data sources for audit compliance.

const ibgeOnly = await client.municipalities.list({
  source: 'IBGE'
});

Overall score

One number. Full picture.

The quality_score is a weighted average of freshness, completeness, and accuracy. Use it as a quick health check or dive into individual metrics when needed.

0.9+

Excellent

0.7-0.9

Good

<0.7

Review

Score calculation

Freshness
0.95
Completeness
1.00
Accuracy
0.98
Quality Score0.94

Simple to integrate.

Quality scores are included in every response by default. Use the SDKs to access quality metadata with full type safety.

import { InfomanceClient } from 'infomance';

const client = new InfomanceClient({ apiKey: 'YOUR_API_KEY' });

// Get LAU with quality metadata
const berlin = await client.getEULAUById('DE_11000000');

console.log(berlin.data_completeness);   // 0.94
console.log(berlin.population);          // 3644826

// List with filters
const highQuality = await client.getEULAU({
  country: 'DE',
  min_population: 500000
});

Borja bygga idag.

Fa din API-nyckel pa 30 sekunder. Inget kreditkort kravs.