fetch_cpis_data
Retrieve compact time series data from the IMF CPIS database using specified parameters, including frequency, country codes, indicator, counterpart country, and date range.
Instructions
Retrieves compact format time series data from the CPIS database based on the input parameters.
Args:
freq (str): Frequency (e.g., "A" for annual).
country (str): Country code, multiple country codes can be connected with "+".
indicator (str): Indicator code.
counter_country (str): Counterpart country code.
start (str | int): Start year.
end (str | int): End year.
Returns:
str: Description of the queried data. Do not perform further analysis or retry if the query fails.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
counter_country | Yes | ||
country | Yes | ||
end | Yes | ||
freq | Yes | ||
indicator | Yes | ||
start | Yes |
Input Schema (JSON Schema)
{
"properties": {
"counter_country": {
"title": "Counter Country",
"type": "string"
},
"country": {
"title": "Country",
"type": "string"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "End"
},
"freq": {
"title": "Freq",
"type": "string"
},
"indicator": {
"title": "Indicator",
"type": "string"
},
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Start"
}
},
"required": [
"freq",
"country",
"indicator",
"counter_country",
"start",
"end"
],
"title": "fetch_cpis_dataArguments",
"type": "object"
}