Ver código fonte

check offset for numeric value

package
flavis 4 anos atrás
pai
commit
d0560f3176
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      scraping/fetch.R

+ 1
- 0
scraping/fetch.R Ver arquivo

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


Carregando…
Cancelar
Salvar