Learn R Programming

BANEScarparkinglite (version 0.1.2)

get_events_detail: Scrape the details of advertised events in Bath for each day

Description

Web scraping function to retrieve the detail for events advertised at http://www.bath.co.uk/events for each day in a specified range of dates.

Usage

get_events_detail(from, to)

Arguments

from

A date or date-time object, or string, of the first date for which to find events.

to

A date or date-time object, or string, of the last date for which to find events.

Value

A data frame of daily event details for each day in the specified range of months.

See Also

get_events

Examples

Run this code
# NOT RUN {
# Return event details for 01 January 2015
events <- get_events_detail("2015-01-01", "2015-01-01")
# }
# NOT RUN {
# Return daily event details from 01 Oct 2014 to 08 Oct 2014
events <- get_events_detail("2014-10-01", "2014-10-08")
# }

Run the code above in your browser using DataLab