Selaa lähdekoodia

check offset for numeric value

package
flavis 4 vuotta sitten
vanhempi
commit
d0560f3176
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      scraping/fetch.R

+ 1
- 0
scraping/fetch.R Näytä tiedosto

@@ -16,6 +16,7 @@ download_protocol <- function(path, name) {
}

fetch_batch <- function(offset) {
stopifnot("Offset must be numeric" = is.numeric(offset))
mk_url(offset) %>%
read_html() %>%
as.character() %>%


Loading…
Peruuta
Tallenna