Description Usage Arguments Details Value Examples
Scrape house sales data from a list of suburbs by council.
1 | scrape_sbc(sbc, B = 1, P = 12, noisy = TRUE)
|
sbc |
A list of suburbs by council
in the same format as the example list
|
B |
Number of boards (i.e., pages of ads) to scape per suburb. |
P |
Number of ad pages per board (determined by inspecting the AU House Prices website). |
noisy |
Logical. If |
This function relies on a loop which repeatedly
calls scrape_suburb
.
A tibble of house sales data.
1 2 3 4 5 | View( STA3LM_suburbs_by_council )
# Normally we would set P = 12 (12 ad pages per board)
data <- scrape_sbc( STA3LM_suburbs_by_council, B = 1, P = 1 )
data_clean <- tidyr::drop_na( data )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.