read_obis: Read an OBIS country file

Description Usage Arguments Value

View source: R/obis.R

Description

Read an OBIS country file

Usage

1
2
3
4
5
6
7
read_obis(
  name = "Cuba",
  path = rappdirs::user_data_dir("robis"),
  form = c("table", "sf")[1],
  what = "all",
  ...
)

Arguments

name

character, the name of the dataset

path

character, the input path. We default to that specified by user_data_dir

form

character, either 'table' (default) or 'sf'

what

character, by default all values are returned, but specify a subset with a character vector of desired columns (variables)

...

further arguments for obis_as_sf in piarricular crs

Value

data table or sf object


BigelowLab/mpatools documentation built on Jan. 20, 2022, 3:46 p.m.