Skip to content

Commit

Permalink
do not check for duplicates when reading in mif files
Browse files Browse the repository at this point in the history
  • Loading branch information
fbenke-pik committed Sep 5, 2024
1 parent 37a2eab commit ae26c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/compareScenarios/cs_main.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ if (!is.null(params$cfgScen)) {
dataScenNested <-
tibble(path = unname(params$mifScen)) %>%
rowid_to_column("fileid") %>%
mutate(data = map(path, read.quitte)) %>%
mutate(data = map(path, read.quitte, check.duplicates = FALSE)) %>%
unnest(data) %>%
nest(data = -c(fileid, path, scenario))
Expand Down Expand Up @@ -184,7 +184,7 @@ bkgndColors <- vapply(scenarioColors, lightenColor, rgb(0, 0, 0), by = 0.5)
```{r read historical mif}
dataHist <-
params$mifHist %>%
read.quitte(factors = TRUE)
read.quitte(factors = TRUE, drop.na = TRUE, check.duplicates = FALSE)
```


Expand Down

0 comments on commit ae26c44

Please sign in to comment.