Skip to content

Commit

Permalink
increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
fbenke-pik committed Jun 11, 2024
1 parent 4fc1878 commit da9f48d
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '1210118'
ValidationKey: '1232870'
AutocreateReadme: yes
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'mredgebuildings: Prepare data to be used by the EDGE-Buildings model'
version: 0.6.1
date-released: '2024-04-25'
version: 0.6.2
date-released: '2024-06-11'
abstract: Prepare data to be used by the EDGE-Buildings model.
authors:
- family-names: Hasse
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
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.6.1
Date: 2024-04-25
Version: 0.6.2
Date: 2024-06-11
Authors@R: c(
person("Robin", "Hasse", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-1818-3186")),
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export(calcHeatingCapacity)
export(calcHeatingSystem)
export(calcHouseholdSize)
export(calcIEAPFU)
export(calcIEAfloorspace)
export(calcLifetimeParams)
export(calcMatchingReference)
export(calcPopulationBuildings)
Expand All @@ -21,6 +22,7 @@ export(calcSharesBuildingDemand)
export(calcSurface)
export(calcUEdemand)
export(calcUValue)
export(calcUvalues)
export(convertCensusHub)
export(convertDaioglou)
export(convertDeetman2020)
Expand All @@ -42,7 +44,9 @@ export(readDeetman2020)
export(readECEMF)
export(readEEAfloorspace)
export(readEHI)
export(readETSAP)
export(readEUBuildingsDB)
export(readEUBuildingsObservatory)
export(readEnergiforsk2016)
export(readEurObservER)
export(readEuropeanCommissionRenovation)
Expand Down
2 changes: 1 addition & 1 deletion R/calcIEAfloorspace.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' @export
calcIEAfloorspace <- function() {

x <- readSource("IEAfloorspace", convert = F)
x <- readSource("IEAfloorspace", convert = FALSE)

return(list(
x = x,
Expand Down
5 changes: 3 additions & 2 deletions R/calcUvalues.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#' Calculate U-value
#'
#' @param subtype either 'EUBuildingsObservatory' or 'ETSAP'
#' @export
calcUvalues <- function(subtype) {

Expand All @@ -8,10 +9,10 @@ calcUvalues <- function(subtype) {
}

if (subtype == "EUBuildingsObservatory") {
x <- readSource("EUBuildingsObservatory", convert = F)
x <- readSource("EUBuildingsObservatory", convert = FALSE)
unit <- "W/m2C"
} else {
x <- readSource("ETSAP", convert = F)
x <- readSource("ETSAP", convert = FALSE)
unit <- "W/m2K"
}

Expand Down
4 changes: 2 additions & 2 deletions R/readEUBuildingsObservatory.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
readEUBuildingsObservatory <- function() {

res <- read.csv2(file.path("2017", "Uvalues_Res_export-eu-buildings-20170503115017.csv"),
na.strings = "-", sep = ",", comment.char = "#", stringsAsFactors = F) %>%
na.strings = "-", sep = ",", comment.char = "#", stringsAsFactors = FALSE) %>%
mutate("variable" = "uvalue_res")

com <- read.csv2(file.path("2017", "Uvalues_NonRes_export-eu-buildings-20170503115017.csv"),
na.strings = "-", sep = ",", comment.char = "#", stringsAsFactors = F) %>%
na.strings = "-", sep = ",", comment.char = "#", stringsAsFactors = FALSE) %>%
mutate("variable" = "uvalue_com")

data <- rbind(res, com)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Prepare data to be used by the EDGE-Buildings model

R package **mredgebuildings**, version **0.6.1**
R package **mredgebuildings**, version **0.6.2**

[![CRAN status](https://www.r-pkg.org/badges/version/mredgebuildings)](https://cran.r-project.org/package=mredgebuildings) [![R build status](https://github.com/pik-piam/mredgebuildings/workflows/check/badge.svg)](https://github.com/pik-piam/mredgebuildings/actions) [![codecov](https://codecov.io/gh/pik-piam/mredgebuildings/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/mredgebuildings) [![r-universe](https://pik-piam.r-universe.dev/badges/mredgebuildings)](https://pik-piam.r-universe.dev/builds)

Expand Down Expand Up @@ -38,7 +38,7 @@ In case of questions / problems please contact Robin Hasse <robin.hasse@pik-pots

To cite package **mredgebuildings** in publications use:

Hasse R, Führlich P, Levesque A, Tockhorn H (2024). _mredgebuildings: Prepare data to be used by the EDGE-Buildings model_. R package version 0.6.1, <https://github.com/pik-piam/mredgebuildings>.
Hasse R, Führlich P, Levesque A, Tockhorn H (2024). _mredgebuildings: Prepare data to be used by the EDGE-Buildings model_. R package version 0.6.2, <https://github.com/pik-piam/mredgebuildings>.

A BibTeX entry for LaTeX users is

Expand All @@ -47,7 +47,7 @@ A BibTeX entry for LaTeX users is
title = {mredgebuildings: Prepare data to be used by the EDGE-Buildings model},
author = {Robin Hasse and Pascal Führlich and Antoine Levesque and Hagen Tockhorn},
year = {2024},
note = {R package version 0.6.1},
note = {R package version 0.6.2},
url = {https://github.com/pik-piam/mredgebuildings},
}
```
11 changes: 11 additions & 0 deletions man/calcIEAfloorspace.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions man/calcUvalues.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions man/readETSAP.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions man/readEUBuildingsObservatory.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da9f48d

Please sign in to comment.