Skip to contents

Plots obs_grid() as tiles. See the README "Maps and plots" section for a captured example. Use obs_grid() itself when you need the counts as a table (for example before sharing a map that must not expose exact coordinates).

Usage

obs_map_density(data, resolution = 0.1, ...)

Arguments

data

An obs_df, data frame, or export path.

resolution

Grid resolution in degrees.

...

Passed to obs_read() when data is a path.

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
obs <- obs_read(obs_example_db())
obs_map_density(obs)
obs_map_density(obs, resolution = 0.05)
} # }