Glassdoor Job Stats
gd_job_stats(..., query = NULL, employer = NULL, location = NULL,
city = NULL, state = NULL, country = NULL, fromAge = NULL,
jobType = NULL, minRating = NULL, radius = NULL,
job_title = NULL, job_category = NULL, returnCities = NULL,
returnStates = NULL, returnJobTitles = NULL,
returnEmployers = NULL, admLevelRequested = NULL)
arguments to pass to gd_api
Additional options to pass to the query other than those specified here
Scope the search to a specific employer by specifying the name here.
Scope the search to a specific location by specifying it here - city, state, or country.
Scope the search to a specific city by specifying it here.
Scope the search to a specific state by specifying it here.
Scope the search to a specific country by specifying it here.
Scope the search to jobs that are less than X days old (-1 = show all jobs (default), 1 = 1 day old, 7 = 1 week old, 14 = 2 weeks old, etc.)
Scope the search to certain job types. Valid values are all
(default), fulltime
, parttime
, internship
,
contract
, internship
, temporary
Scope the search to jobs of companies
with rating >= minRating
(0 = returns all (default), 1 = more than 1 star, 2 = more than 2 stars,
3 = more than 3 stars, 4 = more than 4 stars)
Scope the search to jobs within a certain radius, in miles, of the location specified.
Scope the search to a specific job title by specifying it here.
Job category id to scope the search to - see the Job Category table below - note you must pass the id. This can be a comma separated list of ids if you desire to select more than one category.
Results will include geographical data (job counts) broken down by city.
Results will include geographical data (job counts,
score) broken down by the type of geographical district specified in
parameter admLevelRequested
.
Results will include job data broken down by job title.
Results will include job data broken down by employer.
Geographic district type requested when
returnStates
is true (1 = states, 2 = counties)
# NOT RUN {
if (have_gd_tokens()) {
paste0("returnStates=true&admLevelRequested=1")
res = gd_job_stats(returnStates = TRUE, admLevelRequested = 1)
}
# }
Run the code above in your browser using DataLab