inst/doc/providers.R

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

## ----setup--------------------------------------------------------------------
library(osmextract)

## -----------------------------------------------------------------------------
oe_providers()

## -----------------------------------------------------------------------------
names(test_zones)
str(test_zones[, c(2, 6, 7)])

## ----eval = FALSE-------------------------------------------------------------
#  file.edit("data-raw/geofabrik_zones.R")

## ----eval = FALSE-------------------------------------------------------------
#  file.edit("data-raw/bbbike_zones.R")
#  # or, even better, use
#  usethis::use_data_raw("bbbike_zones")

Try the osmextract package in your browser

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

osmextract documentation built on May 29, 2024, 6:48 a.m.