singleGeosparkBM: Generates averaged Spatial Sparkline as Simple Feature...

Description Usage Arguments Value

View source: R/singleGeosparkBM.R

Description

Generate a Spatial Sparkline as Simple Feature Geometry (sfg) based on a method by Financial Times Data Visualization Designer John Burn-Murdoch

Usage

1
2
3
4
5
6
7
8
9
singleGeosparkBM(
  my_coords,
  my_values,
  max_value = NULL,
  width,
  height,
  direction = "ne",
  n = 7
)

Arguments

my_coords

Point coordinates

my_values

Values associated to point

max_value

Maximum value

width

Width

height

Height

direction

Direction of lines, upward (north), downward (south), left (west) or right (east). For instance, "ne" will generate upward right lines.

n

Window size (default = 7)

Value

returns a geometry (sfg)


datagistips/geosparklines documentation built on April 28, 2020, 3:03 p.m.