Dataset Transformer - Filter, Dedupe, Merge and Join Data avatar

Dataset Transformer - Filter, Dedupe, Merge and Join Data

Pricing

from $0.01 / 1,000 row reads

Go to Apify Store
Dataset Transformer - Filter, Dedupe, Merge and Join Data

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

KOTARO project

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

10 days ago

Last modified

Categories

Features

Limited permissions

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

  1. Merge or join: put sources one after another, or join them on a key field with joinOn.
  2. Filter: equals, notEquals, contains, notContains, greaterThan, lessThan, isEmpty, isNotEmpty, matches.
  3. Remove duplicates: dedupeBy keeps the first row for the same values.
  4. Sort: sortBy and sortDescending. Rows without a value go last.
  5. Cut: limit.
  6. Pick and rename: fields, then rename.

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 an error row.
  • joinOn keeps 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 equals compares them as text. greaterThan and lessThan read numbers from text.
  • No API key and no other account. Internal addresses are refused.