Parsing and performing a conversion on a complex stream

In this example we have data from a call center in the Philippines. The managers at the call center want to determine the call volume between midnight and 8 AM so they can staff the call center accordingly. To get this information, there is a timestamp variable that indicates the time when the customer called and the time zone where the customer was located (in this case all customers are in the Pacific time zone). Now there are two wrinkles in this timestamp variable. First, the timestamp variable does not have a constant string length. This variation in position makes it more difficult to extract the actual times because we cannot just specify to extract all characters between position ...

Get IBM SPSS Modeler Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.