Skip to content

Commit 89ccf9c

Browse files
committed
Move message
1 parent 6bef047 commit 89ccf9c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

R/get_ogc_data.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ get_ogc_data <- function(args,
3232
no_paging <- FALSE
3333
}
3434

35+
message("Requesting:\n", req$url)
36+
3537
if(no_paging){
3638
return_list <- get_csv(req, limit = args[["limit"]])
3739
} else {

R/walk_pages.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#' @noRd
66
#' @return data.frame with attributes
77
walk_pages <- function(req){
8-
9-
message("Requesting:\n", req$url)
108

119
resps <- httr2::req_perform_iterative(req,
1210
next_req = next_req_url,
@@ -98,7 +96,6 @@ next_req_url <- function(resp, req) {
9896

9997
get_csv <- function(req, limit){
10098

101-
message("Requesting:\n", req$url)
10299
skip_geo <- grepl("skipGeometry=true", req$url, ignore.case = TRUE)
103100
resp <- httr2::req_perform(req)
104101

0 commit comments

Comments
 (0)