R/InitPolidata.R

Defines functions InitPolidata

Documented in InitPolidata

#' Initialize polidata
#'
#' @export

InitPolidata <- function() {

    for(apiSource in apiSources) {
        reply <- ""
        apiKey <- GetAPIKey(apiSource)
        while(!IsValidReply(reply)) {
            reply <- PromptAPIKey(apiSource, apiKey)
        }
    }

    ShowAPIKeys()
    cat("API setting complete.")
}

Try the polidata package in your browser

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

polidata documentation built on May 2, 2019, 6:54 a.m.