Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix merge #39

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading