bmap_clear_cache: Clear Cached Data Files

Description Usage Arguments Value Examples

View source: R/cache.R

Description

This function gives the user the ability to clear one or both of the cached data sets on file. Doing so for either of the datasets will completely erase all data for the dataset specified. Do NOT run this function if you don't want to loose any of the cached data currently on file.

Usage

1
bmap_clear_cache(coordinate_cache = FALSE, address_cache = FALSE)

Arguments

coordinate_cache

logical, if TRUE, all data currently in coordinate_cache.rda will be cleared. Default value is FALSE.

address_cache

logical, if TRUE, all data currently in address_cache.rda will be cleared. Default value is FALSE.

Value

If both func args are set to FALSE, function will return NULL. Otherwise, function does not return a value.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Clear both cached data sets.
bmap_clear_cache(coordinate_cache = TRUE, address_cache = TRUE)

# Clear only the address cache.
bmap_clear_cache(address_cache = TRUE)

## End(Not run)

ChrisMuir/baidugeo documentation built on Feb. 7, 2020, 5 p.m.