v1

latestOpenAPI 3.1.02026-07-133535147.2 KB
EconomicComplexityModule

Route Pci

PCI calculation endpoint.

get/complexity/pci.{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.

iterationsinteger

The number of iterations used to calculate the Complexity Indicators.

The number of iterations used to calculate the Complexity Indicators.

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.

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.

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
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
wdistring[]

Applies an additional threshold over the data, using a parameter from the World Bank's WDI database.

Applies an additional threshold over the data, using a parameter from the World Bank's WDI database.

Headers

authorizationstring nullable
x-tesseract-jwtstring nullable

Response

Successful Response

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