stash_cadastral: Store USFWS cadastral data prior to updating 'fwspp' package

View source: R/cadastral_helpers.R

stash_cadastralR Documentation

Store USFWS cadastral data prior to updating fwspp package

Description

Regular updates of the fwspp package can be annoying because prepping the USFWS cadastral data consumes 10-15 minutes. Use this function to stash previously installed cadastral data prior to updating or reinstalling the fwspp package and then run unstash_cadastral to restore the cadastral to its rightful place. It's best not to load the fwspp namespace when stashing the cadastral data. See example.

Usage

stash_cadastral()

Value

character string of stashed cadastral files; pass this string to unstash_cadastral after re-installing the package

Examples

## Not run: 
# In new session
cad <- fwspp::stash_cadastral()

# Re-install fwspp package
devtools::install_github("USFWS/fwspp")

# Unstash the cadastral data
library(fwspp)
unstash_cadastral(cad)

## End(Not run)

adamdsmith/fwspp documentation built on May 14, 2024, 10:28 a.m.