Skip to content

Commit 33bcb85

Browse files
authored
Update file path in R code
1 parent 4eba185 commit 33bcb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R_Webscraping_Example.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(rvest)
22

33
# Webpage URL: https://nrp.web.irs.gov/1040-study.html#tab=tab1
4-
nrp_page = read_html("~/Test_Files/score20-drafts/NRP_1040_Study_Webpage.html")
4+
nrp_page = read_html("NRP_1040_Study_Webpage.html")
55
tbl_elt = nrp_page %>% html_element("table") %>% html_table()
66
names(tbl_elt) = c("StudyYear","SampleSize","PercentComplete")
77
tbl_elt$SampleSize = as.numeric(gsub(",","",tbl_elt$SampleSize))

0 commit comments

Comments
 (0)