Description Usage Arguments Examples
View source: R/get_country_page.R
This function allows you to query the adzuna API, specifying a keyword, a country code and the number of results that you want. The API limit is 50 per page but if you specify more than that this function will continue to run your query, request succesive pages of the results and return the aggregate data object as a 'data.frame'. You can request results that exceed the maximum returned by the API.
1 2 | get_country_page(keyword, country = "gb", app_id, app_key, n_results = 50,
max_age = 365)
|
keyword |
A search string (required) |
country |
A two letter country code. Any one of "gb", "au", "br", "ca", "de", "fr", "in", "nl", "pl", "ru", "za". Defaults to "gb". |
app_id |
Your app id provided by Adzuna (required) |
app_key |
Your app key provided by Adzuna (required) |
n_results |
The number of results requested. Defaults to 50. |
max_age |
The maximum age in days of the oldest advertisment that will be returned. |
1 2 3 4 | # (not run)
# id <- [Your app id]
# key <- [Your app key]
# get_country_page("data science", "gb", id, key)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.