inst/doc/tinytiger.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(tinytiger)

## ---- eval = FALSE------------------------------------------------------------
#  counties <- tt_counties()

## ---- echo = FALSE------------------------------------------------------------
# depends on (1) internet and (2) successful download
counties <- NULL
try(counties <- tt_counties())
dl_success <- !is.null(counties)

## ---- eval = dl_success-------------------------------------------------------
head(counties)

Try the tinytiger package in your browser

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

tinytiger documentation built on Oct. 18, 2023, 1:11 a.m.