Get real estate data

hrefFun(x)

Arguments

type

choose to scrape offers for rent or sale.

pages

select the number of pages, each of them containing 40 items.

Details

This function scrapes data from pap.fr using the XML and the stringr package.

See also

XML

Examples

data <- getEstate(type = "vente", pages = 50)
#> #> preparing data... #> #> loading page 1 of 50
#> Error in htmlParse(theurl, encoding = "utf-8"): could not find function "htmlParse"