
Merge, Dedup & Transform Datasets
Pricing
Pay per usage

Merge, Dedup & Transform Datasets
The ultimate dataset processor. Extremely fast merging, deduplications & transformations all in a single run.
0.0 (0)
Pricing
Pay per usage
79
Total users
4.1k
Monthly users
160
Runs succeeded
95%
Issues response
55 days
Last modified
4 months ago
How to search for keywords in given dataset?
Closed
Hi, I was told I can use your tool to do the following: I use facebook groups posts scraper tool on Apify and it produces a dataset. Now I want to search for several keywords within this dataset and to have an output of only found keywords information. I was told your tool can do this with the dataset, but i don't know how to use it, thanks

Hello,
It requires writing a little bit of JavaScript to filter the data. The same can be achieved if you download the dataset and filter it locally using Excel.
Where should the keyword be in, the text of the post?
sensible_market
Hi, I rather need JS code. The keywords should be searched in the text of the post, yes, thanks

Hello,
I'm sorry for a late reply.
This is possible by adding this Post dedup transform function
async (items, { Apify }) => {const REQUIRED_KEYWORDS = ['election', 'protest']return items.filter((item) => {return REQUIRED_KEYWORDS.some((keyword) => item.text?.includes(keyword))});}