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.

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