cancel
Showing results for 
Search instead for 
Did you mean: 

Transform and Visualize COVID-19 Data

ptaylor
Employee
Employee

This sample pipeline is explained in detail by a SnapLogic Blog post to appear shortly.

COVID-19 Example_2020_04_08.slp (12.8 KB)

3 REPLIES 3

ptaylor
Employee
Employee

The SnapLogic Blog post is forthcoming, but you can see the content now on Medium.

Here’s an updated pipeline to fix an issue related to sorting by date. For example, after sorting, “10/1/20” should be after “9/30/20” but was before it.
COVID-19 Example_2021_04_15.slp (14.4 KB)

In this version, I’ve inserted a new Mapper to reformat the dates so that they sort correctly:
Screen Shot 2021-04-19 at 2.40.01 PM

Here’s the expression as text:
Date.parse($Date,"MM/dd/yy").toLocaleDateString({"format":"yyyy/MM/dd"})