You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please also expose the na argument of readr::type_convert (or the na.strings argument of utils::type.convert) so that one can correctly parse a table that includes a legitimate "NA" string, e.g.
html_string <-
"<table>
<tr><td>MM</td><td>Myanmar</td></tr>
<tr><td>NA</td><td>Namibia</td></tr>
<tr><td>NR</td><td>Nauru</td></tr>
</table"
rvest::minimal_html(html_string) %>%
rvest::html_node("table") %>%
rvest::html_table()
# X1 X2
# 1 MM Myanmar
# 2 <NA> Namibia
# 3 NR Nauru
And expose
col_types
argumentThe text was updated successfully, but these errors were encountered: