getjob: Get a list of jobs, intelligently filtered by several...

Description Usage Arguments Value Examples

View source: R/getjob.R

Description

This function can make request THE MUSE API with "jobs" endponit to get a list of jobs. The results it will return include the amount of jobs that meet the criteria, the job description, the job title, job id, location, related company, etc.

Usage

1
2
getjob(page = NULL, decending = FALSE, company = NULL,
  category = NULL, level = NULL, location = NULL, apikey = NULL)

Arguments

page

The page number to load (required).

decending

Whether to show descending results(default value: FALSE).

company

Only get jobs for these companies.

category

The job category to get, please refer to the vignette for available categories.

level

The experience level required for the job, please refer to the vignette for available levels.

location

The job location to get (you can include flexible/remote jobs from here).

apikey

Pass your own API key can increase the rate limit from 500 to 3600 per hour.

Value

A named list with the following elements:

message

a list of messages including the number of results in specified pages, total number of results returned by the API

response

a list of API-specific response values in JSON format, including the job description, the job title, job id, location, related company, etc. At this time, no further coercion is performed, so you may have to use functions from the jsonlite package to extract the desired output. Or you can refer to the "cleanjob" function in this package to get a clean dataframe with some key information of list of jobs.

Examples

1
2
3
4
5
## Not run: 
getjob(page = 1)
getjob(page = 1, level = "Entry Level", category = "Data Science")
getjob(page = 2, company = "Lyft", location = "Chicago, IL")
## End(Not run)

brandywwy/Rmuse documentation built on Aug. 12, 2019, 1:49 p.m.