Browse Source

check offset for numeric value

package
flavis 4 years ago
parent
commit
d0560f3176
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      scraping/fetch.R

+ 1
- 0
scraping/fetch.R View File

@@ -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…
Cancel
Save