search_time_series_by_group
Retrieve time series metadata from Peru's Central Reserve Bank database filtered by a specific group. Returns a list of time series codes and names for accurate data analysis.
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 |