html_getTable() isn't processing headers
Closed this issue · 0 comments
jonathancallahan commented
Reproducible example:
> url <- "https://www.patriotsoftware.com/blog/accounting/average-cost-living-by-state/"
> df <- MazamaCoreUtils::html_getTable(url)
> head(df)
X1 X2 X3 X4
1 State Annual Mean Wage (All Occupations) Median Monthly Rent Value of a Dollar
2 Alabama $44,930 $998 $1.15
3 Alaska $59,290 $1,748 $0.95
4 Arizona $50,930 $1,356 $1.04
5 Arkansas $42,690 $953 $1.15
6 California $61,290 $2,518 $0.87