Skip to content

Commit

Permalink
Merge pull request #39 from CorrelAid/dev
Browse files Browse the repository at this point in the history
fix merge
  • Loading branch information
yannikbuhl authored Sep 27, 2024
2 parents c6dbbba + 66dffcd commit f52d507
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions R/gen_meta_data.R → R/gen_metadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ gen_metadata_statistic <- function(code = NULL,
name = code,
...)

if (db == "gen_api" | db == "gen_regio_api") {
if (db == "gen_genesis_api" | db == "gen_regio_api") {

par_list <- append(par_list, list(area = area))

Expand Down Expand Up @@ -187,7 +187,7 @@ gen_metadata_variable <- function(code = NULL,
name = code,
...)

if (db == "gen_api" | db == "gen_regio_api") {
if (db == "gen_genesis_api" | db == "gen_regio_api") {

par_list <- append(par_list, list(area = area))

Expand Down Expand Up @@ -320,7 +320,7 @@ gen_metadata_value <- function(code = NULL,
name = code,
...)

if (db == "gen_api" | db == "gen_regio_api") {
if (db == "gen_genesis_api" | db == "gen_regio_api") {

par_list <- append(par_list, list(area = area))

Expand Down Expand Up @@ -865,9 +865,9 @@ gen_metadata <- function(code = NULL,
} else {

stop("Category is not found, please select a correct category.
Available categories for data base GENESIS & Regionalstatistik: 'cube', 'statistic', 'table', 'variable', 'value'.
\n Available categories for Zensus data base: 'statistic', 'table', 'variable', 'value'. \n
Please choose one of them.", call. = TRUE)
Available categories for data base GENESIS & Regionalstatistik: 'cube', 'statistic', 'table', 'variable', 'value'.
\n Available categories for Zensus data base: 'statistic', 'table', 'variable', 'value'. \n
Please choose one of them.", call. = TRUE)
}

})
Expand Down

0 comments on commit f52d507

Please sign in to comment.