getcellid {bdvis}R Documentation

Assign GBIF style degree cell ids and generate custom grid cell ids

Description

Calculate and assign a GBIF-style degree cell id and centi-degree (0.1 degrees, dividing a 1 degree cell into 100 centi-degree cells) cell id to each record. This function also creates a custom grid scale if parameter gridscale is supplied. This is a necessary previous step for some functions like mapgrid

Usage

getcellid(indf, gridscale = 0)

Arguments

indf

input data frame containing biodiversity data set

gridscale

generate custom grid scale column for mapping. Default is 0.

Value

data frame with two columns for cell_id added

See Also

Other Data preparation functions: bdsummary(), format_bdvis(), gettaxo()

Examples

## Not run: 
getcellid(inat)

## End(Not run)

[Package bdvis version 0.2.37 Index]