---
title: "Route Rca Historical"
method: GET
path: "/complexity/rca_historical.{extension}"
tags: ["EconomicComplexityModule"]
---

# Route Rca Historical

`GET /complexity/rca_historical.{extension}`

## Request

- Base URL: `https://api.datausa.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.datausa.io/complexity/rca_historical.{extension}`
- Auth: none declared

RCA Agg calculation endpoint.

## 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

- `alias` string[]: Changes the label of a Level in the response tidy data dictionaries.
- `filter` string[]: Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.
- `cube` string, required: The cube to retrieve the main data
- `activity` string, required: Productivity categories for the RCA calculation
- `location` string, required: Geographical categories for the RCA calculation
- `time` string, required: Unit of time used for calculations
- `measure` string, required: Values to use for the RCA calculations
- `locale` string, nullable: Defines the locale variation for the labels in the data
- `time_filter` string, nullable: parameter similar to time.latest of tesseract python
- `properties` string[], nullable: properties of the original cube
- `parents` boolean: Specifies if the response items should include the parent levels for activity and location.
- `ascending` boolean, nullable: Outputs the results in ascending or descending order. If not defined, results will be returned sorted by level member.
- `rank` boolean: Adds a 'Ranking' column to the data. This value represents the index in the whole result list, sorted by value.
- `cuts` string[]: Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.
- `complementary_drilldowns` string[]: Defines descriptive columns complementary to those used for the calculation base
- `complementary_measures` string[]: Defines extra measures complementary to RCA
- `threshold` string[]: Restricts the data to be used in the calculation, to rows where the sum of all values through the other dimension fulfills the condition.
- `having` string[]: filter results by measures
- `token` string, nullable
- `top` string

## Headers

- `authorization` string, nullable
- `x-tesseract-jwt` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/datausa/apis/datausa-api.md) - [All operations](https://skmtc.dev/datausa/apis/datausa-api/llms.txt) - [OpenAPI document](https://skmtc.dev/datausa/apis/datausa-api/revisions/433b34956d9c?raw)
