v1

latestOpenAPI 3.1.02026-07-133535147.2 KB
EconomicComplexityModule

Route Peii

PEII calculation endpoint.

get/complexity/peii.{extension}

Path parameters

extension'csv' | 'csvbom' | 'xlsx' | 'jsonarrays' | 'jsonrecords' | 'parquet' | 'tsv' | 'tsvbom' required

Define the extensions available to the user and how to response to them.

Query parameters

aliasstring[]

Changes the label of a Level in the response tidy data dictionaries.

Changes the label of a Level in the response tidy data dictionaries.

filterstring[]

Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.

Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.

emissions_cubestring required

The cube to retrieve the Emissions data

The cube to retrieve the Emissions data

emissions_measurestring required

Values to use for the PEII calculations

Values to use for the PEII calculations

emissions_locationstring required

Geographical categories for the emission calculation

Geographical categories for the emission calculation

ascendingboolean nullable

Outputs the results in ascending or descending order. If not defined, results will be returned sorted by level member.

Outputs the results in ascending or descending order. If not defined, results will be returned sorted by level member.

cutoffnumber

The threshold value at which a country's RCA is considered relevant for an economic activity, for the purpose of calculating the Complexity Indicators.

The threshold value at which a country's RCA is considered relevant for an economic activity, for the purpose of calculating the Complexity Indicators.

rankboolean

Adds a 'Ranking' column to the data. This value represents the index in the whole result list, sorted by value.

Adds a 'Ranking' column to the data. This value represents the index in the whole result list, sorted by value.

cubestring required

The cube to retrieve the main data

The cube to retrieve the main data

activitystring required

Productivity categories for the RCA calculation

Productivity categories for the RCA calculation

locationstring required

Geographical categories for the RCA calculation

Geographical categories for the RCA calculation

measurestring required

Values to use for the RCA calculations

Values to use for the RCA calculations

localestring nullable

Defines the locale variation for the labels in the data

Defines the locale variation for the labels in the data

parentsboolean

Specifies if the response items should include the parent levels for activity and location.

Specifies if the response items should include the parent levels for activity and location.

cutsstring[]

Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.

Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.

thresholdstring[]

Restricts the data to be used in the calculation, to rows where the sum of all values through the other dimension fulfills the condition.

Restricts the data to be used in the calculation, to rows where the sum of all values through the other dimension fulfills the condition.

tokenstring nullable

Headers

authorizationstring nullable
x-tesseract-jwtstring nullable

Response

Successful Response

{"stackTrail":"paths:/complexity/peii.{extension}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}