Skip to contents

Function to check if a login is possible for a certain database.

Usage

gen_logincheck(database, verbose = FALSE)

Arguments

database

Character string. Indicator if the GENESIS ('genesis'), Zensus 2022 ('zensus') or regionalstatistik.de ('regio') database is called. Only one database can be addressed per function call. Default option is 'genesis'.

verbose

Boolean. In case of success, should a message be printed? Defaults to FALSE.

Value

Leads to an informative error message if the login check failed and returns FALSE invisibly. Invisibly returns TRUE otherwise.

Examples

if (FALSE) { # \dontrun{
gen_logincheck("zensus")
} # }