Update README.md
This commit is contained in:
parent
ec17c8ca7b
commit
5aeeb5d856
|
|
@ -35,9 +35,9 @@ There were no substantial differences that I noticed in the graphs, so retaining
|
|||
|
||||
From the rvest::html_text website:
|
||||
|
||||
There are two ways to retrieve text from a element: html_text() and html_text2(). html_text() is a thin wrapper around xml2::xml_text() which returns just the raw underlying text. html_text2() simulates how text looks in a browser, using an approach inspired by JavaScript's innerText(). Roughly speaking, it converts <br /> to "\n", adds blank lines around `<p>` tags, and lightly formats tabular data.
|
||||
>There are two ways to retrieve text from a element: html_text() and html_text2(). html_text() is a thin wrapper around xml2::xml_text() which returns just the raw underlying text. html_text2() simulates how text looks in a browser, using an approach inspired by JavaScript's innerText(). Roughly speaking, it converts <br /> to "\n", adds blank lines around `<p>` tags, and lightly formats tabular data.
|
||||
|
||||
html_text2() is usually what you want, but it is much slower than html_text() so for simple applications where performance is important you may want to use html_text() instead.
|
||||
>html_text2() is usually what you want, but it is much slower than html_text() so for simple applications where performance is important you may want to use html_text() instead.
|
||||
|
||||
# Calculating, and Displaying Post Frequency Differences
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue