Trying to get all Dataset names into an array with JavaScript to create a search filter

Hi folks,

I am trying to create a search box type of filter like Brads:

But I want to do this based off dataset names:

Post image

But I am having a hard time accessing all the dataset names and then putting them into an array!

Here is the site in question:

I’ve already built the search box but stuck on this part.

Thanks for any help in advance!

Cheers :slight_smile: