Deflators - Implan-Group/api GitHub Wiki

Deflators

🔗Links


🖽 The Deflator Object

Property Type Details
dollaryYear int
code int
value float
description str

📋Deflator Types

Code Name Details
1 Industry
2 Commodity
4 OtherInstitution
7 Household
8 TradeInstitution
9 ValueAddedFactor

GET /api/v1/deflators/{aggregationSchemeId}/{datasetId}/{deflatorTypeCode}

This endpoint provides a list of possible Dollar Year Deflators that can be applied to other results.

Parameter Spec Type Details
aggregationSchemeId route int The Aggregation Scheme to filter by.
datasetId route int The Dataset to filter by.
deflatorTypeCode route int The Code for the Deflator Type.

🧾Example

📤 Request

GET /api/v1/deflators/14/119/1

📥 Response

[
    {
        "dollar_year": 1997,
        "code": 1,
        "value": 0.910752133185447,
        "description": "Oilseed farming"
    },
    {
        "dollar_year": 1997,
        "code": 2,
        "value": 0.749072436159115,
        "description": "Grain farming"
    },
⚠️ **GitHub.com Fallback** ⚠️