Description Usage Arguments Value Examples
Scrape house sales data from a suburb.
1 | scrape_suburb(suburb, postcode, B = 1, P = 12)
|
suburb |
A character string giving the suburb name with empty spaces replaced with '+', and first letter of each word capitalised. |
postcode |
A character string giving the 4 digit suburb postcode. |
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). |
A tibble containing house sales data with missing values
represented by NA
.
1 2 | # Normally we would set P = 12 (12 ad pages per board)
data <- scrape_suburb( suburb = "Bayswater+North", postcode = "3153", P = 1 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.