Skip to main content

Use of the 'flatten' transformation in the Vega Lite app and format for array-valued data

  • March 14, 2021
  • 0 replies
  • 28 views

Hi,

Has anyone successfully used the ‘flatten’ transformation described here:

to transform array data that’s in an Airtable field? I’m trying to transform some data without having to specify the field names ahead of time, so I’m wondering if I can somehow represent it as an array.

This is a bit of a kludge, because there isn’t an ‘array’ datatype in Airtable (AFAIK). I suspect I might have to manually specify the format somehow, because just putting it in a text field like this:

[1,2,3]

doesn’t seem to produce the results you might expect.

This topic has been closed for replies.