s2 (version 1.0.0)

s2_data_tbl_countries: Low-resolution world boundaries, timezones, and cities

Description

Well-known binary versions of the Natural Earth low-resolution world boundaries and timezone boundaries.

Usage

s2_data_tbl_countries

s2_data_tbl_timezones

s2_data_tbl_cities

s2_data_countries(name = NULL)

s2_data_timezones(utc_offset_min = NULL, utc_offset_max = utc_offset_min)

s2_data_cities(name = NULL)

Arguments

name

The name of a country, continent, city, or NULL for all features.

utc_offset_min, utc_offset_max

Minimum and/or maximum timezone offsets.

Format

A data.frame with columns name (character), and geometry (wk_wkb)

An object of class data.frame with 120 rows and 2 columns.

An object of class data.frame with 243 rows and 3 columns.

Examples

Run this code
# NOT RUN {
head(s2_data_countries())
s2_data_countries("Germany")
s2_data_countries("Europe")

head(s2_data_timezones())
s2_data_timezones(-4)

head(s2_data_cities())
s2_data_cities("Cairo")

# }

Run the code above in your browser using DataCamp Workspace