R/wiesbaden-package.R

#'	
#' Data retrieval client for Federal Statistical Office of Germany
#' 
#'
#' 
#' To authenticate, supply a vector with your user name, password, and database 
#' shortcut ("regio", "de", "nrw", "bm") as an argument for the \code{genesis} 
#' parameter whenever you call a \code{retrieve_*} function:
#' \code{c(user="your-username", password="your-password", db="database-shortname")}
#' 
#' Alternatively, store the credentials on your computer using the \code{\link{save_credentials}} function. This function 
#' relies on the \code{\link{keyring}} package. 
#' 
#' Available databases are regionalstatistik.de (shortname: "regio"), landesdatenbank.nrw.de ("nrw"), 
#' www-genesis.destatis.de ("de") and bildungsmonitoring.de ("bm").
#' 
#' 
#'
#' @name wiesbaden-package
#' 
#' @docType package
#' @aliases wiesbaden
#' @title Client to access the data from the Federal Statistical Office, Germany
#' @author Moritz Marbach \email{moritz.marbach@tamu.edu}
#'
#' @keywords internal 
#'
#' @import httr 
#' @import xml2
#' @importFrom keyring key_set_with_value key_list key_get
#' @importFrom stringr str_detect str_split str_replace_all str_trim str_to_lower
#' @importFrom readr read_csv read_csv2 read_fwf read_delim read_file read_lines locale cols col_character
#' @importFrom stringi stri_trans_general
#' @importFrom stats na.omit
#' @importFrom utils read.csv2
#' @importFrom jsonlite fromJSON toJSON
NULL

Try the wiesbaden package in your browser

Any scripts or data that you put into this service are public.

wiesbaden documentation built on March 7, 2023, 8:16 p.m.