fetch_dot_data
Retrieve compact time series data from the DOT database by specifying frequency, country, indicator, counterpart, and date range. Supports IMF Data API integration for streamlined data access.
Instructions
Retrieves compact format time series data from the DOT 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.
counterpart (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 |
---|---|---|---|
counterpart | Yes | ||
country | Yes | ||
end | Yes | ||
freq | Yes | ||
indicator | Yes | ||
start | Yes |
Input Schema (JSON Schema)
{
"properties": {
"counterpart": {
"title": "Counterpart",
"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",
"counterpart",
"start",
"end"
],
"title": "fetch_dot_dataArguments",
"type": "object"
}