Skip to content

Commit

Permalink
toolMappingFile -> toolGetMapping
Browse files Browse the repository at this point in the history
  • Loading branch information
pfuehrlich-pik committed May 2, 2021
1 parent ae0254c commit 6f78fc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ importFrom(lusweave,swopen)
importFrom(lusweave,swtable)
importFrom(madrat,calcOutput)
importFrom(madrat,toolGetMapping)
importFrom(madrat,toolMappingFile)
importFrom(madrat,toolNAreplace)
importFrom(magclass,"getNames<-")
importFrom(magclass,"getRegions<-")
Expand Down
4 changes: 2 additions & 2 deletions R/toolRegionSubsets.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#'
#' @export
#' @importFrom gdx readGDX
#' @importFrom madrat toolMappingFile
#' @importFrom madrat toolGetMapping
#' @importFrom utils read.csv
#'
#' @export
Expand All @@ -33,7 +33,7 @@ toolRegionSubsets <- function(gdx=NULL,map=NULL,parentMapping=NULL,singleMatches

# default to "regionmappingH12.csv" as default
if (is.null(parentMapping))
parentMapping <- toolMappingFile("regional","regionmappingH12.csv")
parentMapping <- toolGetMapping(type = "regional", name = "regionmappingH12.csv", returnPathOnly = TRUE)

# reading parent mapping
if(!(is.data.frame(parentMapping))) {
Expand Down

0 comments on commit 6f78fc6

Please sign in to comment.