I am wondering how to create a subset of data in R based on a list of dates, rather than by a date range.
For example, I have the following data set data wh
data
Lets assume your breezedate list looks like this and data$date is simple string:
breezedate <- as.Date(c("2009-09-06", "2009-10-01"))
This is probably want you want:
breezedays <- data[as.Date(data$date, '%m/%d/%Y') %in% breezedate]