simplifyPN: Simplify PlantNet response

View source: R/simplifyPN.R

simplifyPNR Documentation

Simplify PlantNet response

Description

This function is used to simplify the response from the PlantNet API into a simple table of the important data that a user is most likely to want.

Usage

simplifyPN(sp)

Arguments

sp

a single element from the response 'results' section

Value

A data.frame with three columns for the score, latin name, and common name. There are as many rows as there are species predictions from the API


BiologicalRecordsCentre/plantnet documentation built on April 1, 2022, 12:25 a.m.