Skip to content

Commit

Permalink
#199 add hardcoded rule for ISTAT_LEGACY
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 12, 2024
1 parent 02ebcd3 commit 66bd761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/readSDMX.R
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ readSDMX <- function(file = NULL, isURL = TRUE, isRData = FALSE,

#using helpers strategy (with a resource parameter)
if(buildRequest && resource %in% c("data","dataflow")){
if(resource == "data" && providerId %in% c("ESTAT", "ISTAT", "WBG_WITS", "CD2030")){
if(resource == "data" && providerId %in% c("ESTAT", "ISTAT", "ISTAT_LEGACY", "WBG_WITS", "CD2030")){
log$INFO("Attempt to fetch DSD ref from dataflow description")
flow <- readSDMX(providerId = providerId, providerKey = providerKey, resource = "dataflow",
resourceId = flowRef, headers = headers, verbose = TRUE, logger = logger,
Expand Down

0 comments on commit 66bd761

Please sign in to comment.