We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45a0def commit 78ebea1Copy full SHA for 78ebea1
R/internal_evds.R
@@ -1,10 +1,15 @@
1
quick_check_evds <- function(key = "..") {
2
- url <- create_evds_url("subject", key = key)
3
- gelen <- request_httr2_helper_evds(url, cache = F)
4
- if (!is_response(gelen)) {
5
- return(false)
+ domain <- "https://evds2.tcmb.gov.tr/service/evds"
+
+ api_key_evds <- key
+ if (is.null(key)) {
6
+ api_key_evds <- get_api_key("evds")
7
}
- T
8
9
+ url <- glue::glue("{domain}/categories/type=json")
10
+ resp <- req_version_2_w_header(url, key = key)
11
12
+ return(is_response(resp))
13
14
mock_data_evds <- function() {
15
dates <- seq(from = lubridate::ymd("2010-1-1"), to = lubridate::ymd("2025-1-1"), by = "month")
0 commit comments