Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
yannikbuhl committed Sep 27, 2024
1 parent d7773d7 commit 66dffcd
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 66dffcd

Please sign in to comment.