Dataset Transformer - Filter, Dedupe, Merge and Join Data
Pricing
from $0.01 / 1,000 row reads
Dataset Transformer - Filter, Dedupe, Merge and Join Data
Clean up Apify datasets and JSON or CSV files without code: filter rows, remove duplicates, sort, pick and rename fields, merge sources or join them on a key. Use it after any scraper. Pay per row read, stopping at your spending limit. No API key needed.
Pricing
from $0.01 / 1,000 row reads
Rating
0.0
(0)
Developer
KOTARO project
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
10 days ago
Last modified
Categories
Features
Share
Dataset Transformer
Clean up data without writing code. Give Apify datasets or JSON and CSV files, and get one tidy dataset back.
What it does, in this order
- Merge or join: put sources one after another, or join them on a key field with
joinOn. - Filter:
equals,notEquals,contains,notContains,greaterThan,lessThan,isEmpty,isNotEmpty,matches. - Remove duplicates:
dedupeBykeeps the first row for the same values. - Sort:
sortByandsortDescending. Rows without a value go last. - Cut:
limit. - Pick and rename:
fields, thenrename.
Dotted names reach into nested objects, such as size.w. The number of rows after each step is saved in the key-value store as COUNTS.
Example
{"datasetIds": ["YOUR_DATASET_ID"],"filters": [{"field": "price", "op": "lessThan", "value": 100}],"dedupeBy": ["url"],"sortBy": "price","fields": ["title", "price", "url"]}
Pricing
You pay per row read from your sources, not per row in the result, because the work depends on how many rows are read. For example, reading 50,000 rows counts as 50,000 rows even if your filters leave 5.
If you set a maximum spending limit for the run, the Actor reads only as many rows as the limit covers, and a free row with note tells you where it stopped. A source that cannot be read gives a row with error and is not charged.
Good to know
- Up to 20 sources and 200,000 rows in one run.
- A file can be JSON, JSON Lines, CSV or TSV, in UTF-8 or Shift_JIS.
- This Actor can read only the datasets you choose in
datasetIds, with read access. It does not ask for access to the rest of your account. A dataset it cannot open gives anerrorrow. joinOnkeeps every row of the first source. If a field exists on both sides, the first source's value is kept.- CSV values are read as text, so
equalscompares them as text.greaterThanandlessThanread numbers from text. - No API key and no other account. Internal addresses are refused.