Menu

Your location join gives some job ads extra salary votes
📰

Your location join gives some job ads extra salary votes

DEV Community: datascience·Dataspryva·about 12 hours ago
#bdYf4qPF
#devtodatascience#science#devto#dev#jobs
Reading 0:00
15s threshold

Your national salary average moved when you added regional rows. Now the market report needs an explanation for why a location transformation changed a pay statistic.

The suspicious line is jobs.explode("locations") . The job location structure is a locations[] array of objects, so expanding it repeats any parent salary across its location associations.

Exploding job locations changes the analytical unit from an advert to a job-location association. Calculate a national mean on those expanded rows and ads with more associations receive more weight.

Keep the search population attached

For Dataspryva's Willhaben Actor, mode selects the collection route. It's a string input; startUrls is an array used with byUrls , which accepts ordinary listing URLs and job URLs, including searches.

That matters because the collection route isn't the record type.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.