grid_design: Interactively design a grid

View source: R/facet_geo.R

grid_designR Documentation

Interactively design a grid

Description

Interactively design a grid

Usage

grid_design(data = NULL, img = NULL, label = "code", auto_img = TRUE)

Arguments

data

A data frame containing a grid to start from or NULL if starting from scratch.

img

An optional URL pointing to a reference image containing a geographic map of the entities in the grid.

label

An optional column name to use as the label for plotting the original geography, if attached to data.

auto_img

If the original geography is attached to data, should a plot of that be created and uploaded to the viewer?

Examples

# edit aus_grid1
grid_design(data = aus_grid1, img = "http://www.john.chapman.name/Austral4.gif")
# start with a clean slate
grid_design()
# arrange the alphabet
grid_design(data.frame(code = letters))

geofacet documentation built on May 29, 2024, 8:13 a.m.