Skip to main content

Why Data Enrichment for Forecasting?

Forecasting models often rely heavily on historical internal data — sales, production, demand, etc. However, real-world outcomes are influenced by many external factors such as weather, economic conditions, or regional events. Data enrichment enhances forecasting accuracy by integrating these contextual signals from trusted external data providers. This broader view helps your models:
  • Capture hidden relationships and causal effects (e.g., weather affecting retail sales)
  • Improve predictive accuracy and robustness
  • Enable more informed decision-making
By combining internal and external data, you create a more complete, dynamic foundation for your forecasts.

Get started

Install the Synthefy Python package:
Set your API key as an environment variable (you can get your key here: https://console.synthefy.com/api-keys):

Weather Data

Weather conditions can significantly impact business outcomes such as sales, logistics, or energy consumption. Synthefy’s weather enrichment feature allows you to pull relevant meteorological data directly into your forecasting pipeline.

How to Fetch Weather Data from Our API

The example below demonstrates how to retrieve daily temperature, humidity, precipitation, and wind speed data for a given location and time period.

Enrich Your Data with Weather

Once weather data is available, you can merge it with your internal dataset (e.g., store-level sales). This enrichment creates a richer feature set for forecasting, capturing the environmental conditions that may influence your metrics.

Haver Data

Economic indicators often influence consumer demand, investment decisions, and market performance. Integrating Haver Analytics data provides a macroeconomic context for your forecasts — useful for finance, retail, and manufacturing domains. Use this functionality to search for relevant Haver series (e.g., consumer spending, GDP, or employment rates) by keyword. It helps identify which economic metrics best align with your forecasting objectives.
ItemValue
✅ StatusFound Haver data
📊 SeriesTSSTB@USECON
📝 DescriptionSales: Total Business (SA, Bil.$)

Fetch Haver Data

After identifying relevant series, you can easily pull historical economic time series into your forecasting pipeline. These data streams allow you to factor in broader economic trends and policy effects.

Forecast with Enriched Data

Once you’ve enriched your internal dataset with weather and economic features, you can feed the combined data into a forecasting model. This example shows how to generate future sales predictions using enriched time series data. The enriched dataset improves model performance by providing more signals that influence future outcomes — helping your model “see” beyond past trends.