🏠 back to Observable

Extract value from filtered Arquero table

I’m really enjoying using arquero, but am struggling to find a clear or direct way to extract a value from a filtered table. Is there a better approach than this?

// What is the name of the beer with the the highest abv? -- a bit awkward?
beers
  .filter(d => d.abv === op.max(d.abv))
  .objects()[0].name

See this notebook for details. Thanks!

1 Like