boliga_create_base_url: Function to create the base url for webscraping boliga.

Description Usage Arguments Examples

View source: R/boliga_create_base_url.R

Description

Function to create the base url for webscraping boliga.

Usage

1
2
3
boliga_create_base_url(min_sale_date = NULL, max_sale_date = Sys.Date(),
  type = c("Alle", "Villa", "Rækkehus", "Ejerlejlighed", "Fritidshus",
  "Landejendom"), postal_code = NULL)

Arguments

min_sale_date

as.Date(). The minimum sale date.

max_sale_date

as.Date(). The maximum sale date.

type

type "Alle", "Villa", "Rækkehus", "Ejerleglighed", "Fritidshus", "Landejendom"

post_no

Post number.

Examples

1
2
3
4
5
6
7
library(boliga)

boliga_create_base_url(min_sale_date = Sys.Date() - 100,
                       max_sale_date = Sys.Date(),
                       type = "Fritidshus",
                       postal_code = 4500)
                       

krose/boliga documentation built on March 23, 2018, 5:57 p.m.