Description Usage Arguments Value Examples
Lists the advertisements listed for a given search url
1 2 | list_advertisements(url, advertisement_type = c("both", "individuals",
"companies"), max_pages = Inf)
|
url |
The HTTP URL of a marktplace search page page. |
advertisement_type |
Choose which type of advertisements to would like to select |
max_pages |
limit the number of pages webscrape. Useful for testing. Default is all pages. |
a data frame with title, url and ID of advertisements
1 2 3 4 5 | ## Not run:
url <- "http://www.marktplaats.nl/z/telecommunicatie/mobiele-telefoons-apple-iphone/iphone.html?query=iphone&categoryId=1953&sortBy=SortIndex"
list_advertisements(url, advertisement_type = "individuals", max_pages = 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.