Description Usage Arguments Value
View source: R/upgo_scrape_kj.R
upgo_scrape_kj
scrapes all data from Kijiji rental listings in
Montreal, Toronto or Vancouver.
1 2 3 4 5 6 7 8 | upgo_scrape_kj(
city,
old_results = NULL,
short_long = "both",
recovery = FALSE,
proxies = NULL,
quiet = FALSE
)
|
city |
A character vector indicating the city or cities to scrape. Currently accepts "montreal", "toronto" or "vancouver" as inputs. |
old_results |
A data frame. If the output of a previous run of
|
short_long |
A character scalar. Should short-term rentals ("short"), long-term rentals ("long") or both ("both", the default) be scraped? |
recovery |
A logical vector. Should the function attempt to recover results from a previous, unsuccessful function call? |
proxies |
Character vector of IPs to use for proxy connections. If the length is less than the number of processes set by 'future::plan()', proxies will be recycled. |
quiet |
A logical vector. Should the function execute quietly, or should it return status updates throughout the function (default)? |
A table with one row per listing scraped.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.