This function retrieves all new ads from a Kijiji search URL that are not present in the defined database inputFile.

new_KijijiAds(
  URL,
  exclude = NULL,
  pages,
  inputFile,
  updateInput = TRUE,
  outputFile = NULL
)

Arguments

URL

character, the address after doing a specific search on Kijiji

exclude

vector, keywords to remove unwanted ads

pages

numeric, total amount of pages to look for ads

inputFile

character, name of the database file used in the all_KijijiAds function

updateInput

logical, if FALSE it will not update the inputFile with the new retrieved ads. Useful in case of debuging

outputFile

character, name of the output file to save the retrieved new ads If NULL it will retun a list of ads

Value

list of new ads