This message was deleted.
# help
s
This message was deleted.
a
Hi Jared! Glad you are enjoying the platform! I believe that if your Arquero database is loaded, it's already available as JS. For example, in https://observablehq.com/@uwdata/introducing-arquero the database is loaded as
db
and typing
db._names
will allow you to access that part of the data object as a JSON array. Do you have a notebook to share where you are getting stuck?
Hi again! @Allison (Observable Team) also reminded me of this resource, which may be a better help: https://uwdata.github.io/arquero/api/table.html#objects
1
👍 1
c
Another quick hack is to create a Data Table cell from the Arquero table and then you can access the data from the Data Table as a normal JSON array. See https://observablehq.com/d/ec2017eace60cb58
👀 1
👏 1
👏🏻 1
j
Hi @Cobus Theunissen , I just looked at your notebook, and saw where “data” correlated to the “flights” Arquero table loaded from Arrow. Any idea how I could do the same thing if I’m writing OJS within Quarto?? I’m working projects that tie R, Python and OJS all together in a Quarto doc.
m
You can pass Arquero tables directly to Plot and visualize them, too. https://observablehq.com/@observablehq/plot-arquero
🚀 1
j
Great! Thanks @Mike Bostock !! Everyone’s been so helpful here!
❤️ 1
b
Woops: Posted this yesterday but didn't add it to the thread.
Copy code
array = aq.from(ALL_ts_co2).select("Year_of_Registration_date","Body_type",'Motor_tech','Vehicle_class','CO2_band').objects()
I got this .objects() tip from @Sara Quigley who mentioned it in the chat of

https://www.youtube.com/watch?v=jPUFr6QktQs

Thanks Sara