grid_design: Interactively design a grid

Description Usage Arguments Examples

View source: R/facet_geo.R

Description

Interactively design a grid

Usage

1
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

1
2
3
4
5
6
# 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))

Example output

sh: 0: Can't open /dev/null
sh: 0: Can't open /dev/null
sh: 0: Can't open /dev/null

geofacet documentation built on July 2, 2020, 3:59 a.m.