Scout Chart Creator
  • Overview
  • Get Started
    • Tutorial 1: NMR Daily Transaction Count
    • Tutorial 2: LPT Weekly Volume (USD)
    • Tutorial 3: NMR vs LPT Daily comparison
  • Pipeline
    • Filter
    • Project
    • Group
      • Accumulators
    • Sort
    • Unwind
    • Custom
  • Data Source
    • Transactions
    • States
    • Contracts
    • Aragon
    • Livepeer
    • dYdX
    • Set
    • Token holders
  • Operators
    • Math operators
    • Logic operators
    • Function operators
    • Array operators
    • String operators
  • Config
  • Protocols
    • Dodo
      • 24H trade volume
      • Deposit & Withdraw
    • Livepeer
    • dYdX
      • Making sense of the trade data
    • MakerDao
    • Pickle Finance
      • Example: Daily deposit and withdraw of jar 0.88
      • Example: Listing all borrows of a strategy
  • FAQ
    • Dealing with "logs" field in "Transaction"
    • How to handle "Query Timeout" error?
    • How to use a variable in a Pipeline
  • Research
    • The circulating supply of DODO tokens
    • How are bitcoins doing on Ethereum? (as of Jan 20th 2021)
Powered by GitBook
On this page

Was this helpful?

  1. Pipeline

Project

To transform the input data with operators before passing to the next step.

PreviousFilterNextGroup

Last updated 4 years ago

Was this helpful?

Project is where the majority of data transformations happen. It comes with a wide array of operators to help you transform the input data into a desired output format. Most operators have one or multiple arguments. An argument is an input that must be (unless marked as optional) provided in order to obtain the output of an operator.

For example, you are given a set of data that looks like below:

And you want to build a table that will

  1. List the accountAddress in lower case in the 1st column.

  2. List both the balance and symbol in the 2nd column

  3. List the blockTimestamp in the 3rd column.

  4. List the balance in USD in the 4th column.

This is what a Project would look like in order to achieve that. All the green boxes are operators.

Here is a full list of operators that you can use:

Math operators
Logic operators
Function operators
Array operators
String operators
Understand "Project" in 7 minutes
Example of Project