Skip to contents

ggmap stores options as a named list in R's global options, i.e. getOption("ggmap"). It currently stores two such options, one for Google credentialing and one to suppress private API information in the URLs printed to the screen when web queries are placed. For both of those, see register_google().

Usage

set_ggmap_option(...)

has_ggmap_options()

has_ggmap_option(option)

ggmap_credentials()

Arguments

...

a named listing of options to set

option

a specific option to query, e.g. "display_api_key"

Author

David Kahle david@kahle.io

Examples


getOption("ggmap")
#> $google
#> Key -  
#> Account Type - standard 
#> Day Limit - Inf 
#> Second Limit - 50 
#> Client -  
#> Signature -  
#> 
#> $display_api_key
#> [1] FALSE
#> 
has_ggmap_options()
#> [1] TRUE
has_ggmap_option("display_api_key")
#> [1] TRUE