Sign In with your Yahoo! ID or Join Now

Module Reference: Data Types

The Module Reference describes each module and details what type of data each can process and emit. The list below describes the data types in greater detail.

items

Data sources (like the Fetch Feed or Yahoo! Search modules) output items. Items are lists of structured data. For an RSS feed, this data will include title, description, link, and pubDate. For Google Base, data may include a list of items containing category, location, description, and expiration date.

Items are the basic building blocks of Pipes.

Note: This data type was called rss in earlier versions of Yahoo! Pipes.

location

Location data can provide these fields:

  • country
  • street
  • latitude
  • longitude
  • postal code
  • state
  • city
  • quality

How many of these fields are available to you depends on the accuracy of the location you provide. The quality field is an indication of the accuracy of the location provided. A specific street address will often have a quality in the 80s or higher. Providing just a city name, like "London", returns a quality of about 40, and providing just a country name, like "Portugal", yields a quality of only 10.

number

Numbers are produced by the Number Input module and used by the Simple Math module. Numbers can be either integer or floating point.

text

Much of the data in feeds can be manipulated as text. Several String modules can modify, translate, and search text. Regular expressions can be applied to text strings using the Regex and String Regex modules.

datetime

The datetime datatype represents a date and time and includes these fields:

  • hour: 20
  • timezone: UTC
  • second: 0
  • month: 8
  • minute: 28
  • utime: 1188419280
  • day: 29
  • day_of_week: 3
  • year: 2007

The values above represent the date and time "8/29/2007 4:28PM EDT". The utime displays the number of seconds elapsed since January 1, 1970. This is useful for computing time differences.

day_of_week ranges from 1 (Monday) to 7 (Sunday).

url

Urls are valid Uniform Resource Locators. Many Data Source modules require you to specify the URL of the target resource (e.g., Fetch Feed, Fetch CSV, Fetch Data). You can wire a URL into these and other modules using the URL Input or URL Builder modules.

Copyright © 2014 Yahoo! Inc. All rights reserved.