Explorar el Código

check offset for numeric value

package
flavis hace 4 años
padre
commit
d0560f3176
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      scraping/fetch.R

+ 1
- 0
scraping/fetch.R Ver fichero

@@ -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() %>%


Cargando…
Cancelar
Guardar