Skip to content

Commit d448815

Browse files
committed
small stuff
1 parent 4b2a011 commit d448815

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/gen_jobs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ gen_list_jobs <- function(database = c("genesis", "regio"),
118118
#' @param database Character string. Indicator if the GENESIS ('genesis') or regionalstatistik.de ('regio') database is called. Only one database can be addressed per function call. Default option is 'genesis'.
119119
#' @param area Character string. Indicator from which area of the database the results are called. In general, 'all' is the appropriate solution. Default option is 'all'.
120120
#' @param compress Boolean. Should empty rows and columns be discarded? Default is FALSE.
121-
#' @param language Character string. Defines if the decimal mark and grouping mark of integers should be represented based on the European (e.g.: '100,5', '200.000,5') or American ('100.5', '200,000.5') system. Defaults to 'Sys.getenv("GENESIS_LANG")'.
121+
#' @param language Character string. Defines if the decimal mark and grouping mark of integers should be represented based on the European (e.g.: '100,5', '200.000,5') or American ('100.5', '200,000.5') system. Defaults to 'Sys.getenv("RESTATIS_LANG")'.
122122
#' @param all_character Boolean. Should all variables be imported as 'character' variables? Avoids fuzzy data type conversions if there are leading zeros or other special characters. Defaults to TRUE.
123123
#'
124124
#' @return Returns a data.frame with the table content

R/zzz.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
gen_regio_api <<- memoise::memoise(gen_regio_api)
77

88
# Set the default language of the package
9-
if (!nzchar(Sys.getenv("RESTATIS_LANG"))) Sys.setenv(GENESIS_LANG = "en")
9+
if (!nzchar(Sys.getenv("RESTATIS_LANG"))) Sys.setenv(RESTATIS_LANG = "en")
1010

1111
# Set the default URL for the GENESIS database
1212
if (!nzchar(Sys.getenv("RESTATIS_GENESIS_URL"))) {

0 commit comments

Comments
 (0)