td-resample

Resample and interpolate Teradata time series data using TD_RESAMPLE.

7|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/teradata-labs/claude-cookbooks --skill td-resample
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: td-resample
Source: https://github.com/teradata-labs/claude-cookbooks/tree/main/skills/analytics/td-resample
Command: npx skills add https://github.com/teradata-labs/claude-cookbooks --skill td-resample

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the need to convert time series data to different sampling rates, enabling analysis and integration across systems with varying data frequencies.

Core Features & Use Cases

  • Signal Resampling: Adjust the sampling rate of time series data (upsampling or downsampling).
  • Interpolation: Fill in missing data points or create smoother series using various interpolation methods.
  • Use Case: You have sensor data sampled every second, but your analysis requires data sampled every minute. This Skill can downsample your data accurately while maintaining signal integrity.

Quick Start

Use the td-resample skill to resample the sensor_data table with timestamp_col to a new rate.

Frequently Asked Questions about td-resample

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resample time series data to a different sampling rate in Teradata?

Interpolation fills missing data points or smooths time series data during rate conversion by estimating intermediate values. This Skill applies interpolation methods within the TD_RESAMPLE function to maintain signal integrity when adjusting sampling frequencies.

Do I need Teradata Vantage with UAF enabled to perform signal resampling?

Yes, signal resampling requires Teradata Vantage with the Unbounded Array Framework enabled and appropriate licensing for advanced signal processing functions. This environment provides the necessary TD_RESAMPLE function to execute time series rate conversion.

What is the best way to downsample high-frequency sensor data for analysis?

The best way to downsample high-frequency sensor data is using a dedicated resampling function like TD_RESAMPLE. It accurately converts data to a lower sampling rate, such as reducing per-second sensor readings to per-minute aggregates, while preserving signal characteristics.

Can I use td-resample for upsampling and interpolating missing time series points?

Yes, you can use td-resample for upsampling and interpolating missing time series points. It leverages the TD_RESAMPLE function to increase the sampling rate and apply various interpolation methods to fill gaps or create smoother series.