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
There seems no option to prevent html_table() from converting integer-ish texts to integers. For example, consider the case below. I want to parse 001 and 002 as "001" and "002", but actually they are interpreted integer 1 and 2. I think html_table() should provide some option to control this behavior.
It will probably be straight to implement to wrap the type.covert() line with if. If this sounds good, I'm happy to contribute a pull request.
There seems no option to prevent
html_table()
from converting integer-ish texts to integers. For example, consider the case below. I want to parse001
and002
as"001"
and"002"
, but actually they are interpreted integer1
and2
. I thinkhtml_table()
should provide some option to control this behavior.It will probably be straight to implement to wrap the
type.covert()
line withif
. If this sounds good, I'm happy to contribute a pull request.Created on 2021-02-05 by the reprex package (v1.0.0)
rvest/R/table.R
Line 135 in 62cef0d
The text was updated successfully, but these errors were encountered: