Description Usage Arguments Details Value Author(s) Examples
View source: R/safe_readHTMLTable.R
Function safe_readHTMLTable
tries to download the table from given URL several times.
1 | safe_readHTMLTable(..., time = 60, attempts = 10)
|
... |
arguments that will be passed to readHTMLTable |
time |
sleep interval after each failure |
attempts |
max number of tries (if there is a problem with connection) |
Function safe_readHTMLTable
performes 10 (by default) attempts to download the URL
and waits 60sec (by default) after each failure
character vector
Przemyslaw Biecek
1 2 3 4 5 | ## Not run:
page <- paste0('http://www.sejm.gov.pl/Sejm7.nsf/',
'posiedzenie.xsp?posiedzenie=99&dzien=2')
safe_readHTMLTable(page)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.