This code is reset from here http://www.bls.gov/schedule/news_release/2015_sched.htm every date that contains the employment statement in the Release column.
pg <- read_html("http://www.bls.gov/schedule/news_release/2015_sched.htm")
body <- html_nodes(pg, "div#bodytext")
es_nodes <- html_nodes(body, xpath=".//td[contains(., 'Employment Situation for')]/../td[1]")
nfpdates2015 <- as.Date(trimws(html_text(es_nodes)), format="%A, %B %d, %Y")
I would like to repeat that for other URLs containing other years, it is named the same when only the year number changes. In particular, for the following URLs:
http://www.bls.gov/schedule/news_release/2015_sched.htm
http://www.bls.gov/schedule/news_release/2014_sched.htm
...
http://www.bls.gov/schedule/news_release/2008_sched.htm
rvest, HTML XML . for, . , 2015 , , . , , . .