Rvest output is inserting a long string of extra data in one of the cells:
QC1 <- read_html("https://en.wikipedia.org/wiki/List_of_airports_in_Quebec")%>%
html_node('body #content #bodyContent #mw-content-text .mw-parser-output table') %>%
html_table(fill = TRUE)
QC1$Coordinates first cell starts with: .mw-parser-output .geo-default,.mw-parser-output .geo-dms,.mw-parser-output .geo-dec{display:inline}.mw-parser-output .geo-nondefault,.mw-parser-output .geo-multi-punct{display:none}.mw-parser-output .longitude,.mw-parser-output .latitude{white-space:nowrap}60°49′07″N 078°08′55″W / 60.81861°N 78.14861°W / 60.81861; -78.14861 (Akulivik Airport)
and all other cells start with the numeric coordinate data. I have tried str_remove but I find the fruit-based examples in the documentation limited and unhelpful when dealing with more complicated regex than "banana".
I'd like to delete everything from that first Coordinate cell until the LAST "}". I thought I could add a pipe with str_remove(., "^.*}") or gsub but it hasn't worked. Any suggestions?