Description Usage Arguments Details Value Author(s) Examples
View source: R/scrap_comparis.R
get_pages()
scrapes pages' elements for a given Swiss city from
https://www.comparis.ch web-page and returns a vector with pages'
numbers.
1 | get_pages(city)
|
city |
a length one character vector indicating a Swiss city. |
Note that only the latest (no older than one week) items considered. https://www.comparis.ch url's indexing starts from zero, therefore, the returned sequence also starts from zero.
a numeric vector of pages' numbers.
Iegor Rudnytskyi, iegor.rudnytskyi@unil.ch
1 | pages <- get_pages("bern")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.