Get real estate data

pages

Arguments

type

choose to scrape offers for rent or sale.

pages

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

Format

num 1

Details

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

See also

www.pap.fr

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"