$echo '{
< "rawData": [
< {
< "company": "Northwind Traders",
< "website": "https://www.northwind.example/?utm_source=directory",
< "email": "Sales@Northwind.example",
< "phone": "(415) 555-2671",
< "city": "San Francisco"
< },
< {
< "company": "Northwind Traders Inc.",
< "website": "http://northwind.example/",
< "email": "sales@northwind.example",
< "phone": "+1 415 555 2671",
< "employees": 120
< },
< {
< "company": "Contoso Ltd",
< "website": "https://contoso.example/about",
< "phone": "212-555-0187",
< "city": "New York"
< },
< {
< "company": "Contoso",
< "website": "https://www.contoso.example/about/#team",
< "email": "hello@contoso.example",
< "city": ""
< },
< {
< "company": "Fabrikam",
< "website": "https://fabrikam.example",
< "email": "info@fabrikam.example",
< "city": "Austin"
< },
< {
< "company": "Tailspin Toys",
< "website": "https://tailspin.example/shop?gclid=abc123",
< "city": "Denver"
< },
< {
< "company": "Tailspin Toys",
< "website": "https://tailspin.example/shop",
< "phone": "720 555 0144",
< "city": "Denver"
< }
< ],
< "dedupeFields": [
< "website"
< ],
< "urlFields": [
< "website"
< ],
< "keep": "merge"
<}' |
<apify call fernandosord/dataset-merge-dedupe --silent --output-dataset