-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy duplicate implementation of TCEP source
- Loading branch information
1 parent
3e09553
commit 8fbc746
Showing
15 changed files
with
55 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Type: Package | ||
Package: mredgebuildings | ||
Title: Prepare data to be used by the EDGE-Buildings model | ||
Version: 0.7.1 | ||
Date: 2024-09-11 | ||
Version: 0.7.2 | ||
Date: 2024-09-13 | ||
Authors@R: c( | ||
person("Robin", "Hasse", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-1818-3186")), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#' Passes U-values read from source | ||
#' | ||
#' @author Falk Benke, Robin Hasse | ||
#' | ||
#' @param subtype source of U-values | ||
#' @export | ||
|
||
calcUValueSource <- function(subtype = c("EUBuildingsObservatory", "ETSAP")) { | ||
|
||
subtype <- match.arg(subtype) | ||
|
||
x <- if (subtype == "EUBuildingsObservatory") { | ||
readSource("EUBuildingsObservatory", convert = FALSE) | ||
} else { | ||
readSource("ETSAP", convert = FALSE) | ||
} | ||
|
||
return(list(x = x, | ||
min = 0, | ||
isocountries = FALSE, | ||
unit = "W/m2K", | ||
description = paste("U-values as reported by", subtype) | ||
)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.