scrape_job: Start a scraping job

Description Usage Arguments Details

View source: R/scrape_job.R

Description

This is the master scraping function. It will call scrape() to invoke NodeJS puppeteer for scraping, and then move the files to the appropriate directory structure.

Usage

1
2
scrape_job(job_titles_index, experience_level_index, locations_index,
  sort = "R")

Arguments

job_titles_index

The index of the job gtitle to search for from the job_titles data.frame (e.g., job_titles <- c('data scientist', 'data analyst', 'data engineer'))

experience_level_index

The index of the experience level to search for from the experience_levels data.frame (e.g., experience_levels <- c(1, 2, 3))

locations_index

The index of the experience level to search for from the locations data.frame (e.g., locations <- c(locations <- c('New York City Metropolitan Area', 'Greater Toronto Area Metropolitan Area'))

Details

Note that this function expects the data.frames defined in jobs_to_scrape.R to be initialized (job_titles, experience_levels, locations, job_titles_abbv, and locations_abbv).


tylerburleigh/LinkedInJobsScrapeR documentation built on Nov. 5, 2019, 11:02 a.m.