search_time_series_by_group
Retrieve time series metadata from the BCRP database by specifying a group name. Filter and return a list of matching time series codes and names for analysis of Peru's economic indicators.
Instructions
Search for time series within a specific group from the BCRP database.
This function retrieves time series metadata from the BCRP (Banco Central de Reserva del Perú) database and filters it to find all time series that belong to a specific group. It returns a list of dictionaries containing the code and name of each matching time series.
Args: time_series_group (str): The name of the time series group to search within. This should match or be contained within the "Grupo de serie" field in the BCRP metadata.
Returns: List[Dict[str, str]]: A list of dictionaries where each dictionary contains: - "code": The unique identifier code for the time series - "name": The descriptive name of the time series If an error occurs, returns a list with a single dictionary containing an "error" key with the error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
time_series_group | Yes |