get_former_communes Downloads list of former communes from Wikipedia
get_former_communes.Rd
get_former_communes Downloads list of former communes from Wikipedia
Usage
get_former_communes(
url = "https://en.wikipedia.org/wiki/Communes_of_Luxembourg#Former_communes",
min_year = 2009,
table_position = 3
)
Arguments
- url
Optional: Persistent url to the data
- min_year
Optional: Minimum year to consider. Defaults to 2009 because price data starts in 2010
- table_position
Optional: Scraping returns a list of tables, so users need to specify the correct table. Defaults to 3, the position of the table as of writing.