Access Terms From the Plant Phenology OntologySource:
Access present and absent terms from the Plant Phenology Ontology
(boolean) If TRUE then return all "present" phenological stages
(boolean) IF TRUE then return all "absent" phenological stages.
(integer) set the limit ofthe amount of time to wait for a response
The ppo_terms function returns terms from the Plant Phenology Ontology (PPO).
The function only accepts parameters for "present" or "absent" terms.
The response populates a data frame with: termID, label, description, and
URI. Use the termID values in submitting termID values to the
ppo_data function. The label and description fields are
extracted from the Plant Phenology Ontology and are useful in
determining the proper term to query on. The URI field contains a link to
the term itself which is useful for determining superclass and subclass
relationships for each term.
Some of these terms will not return any results when using
To have only the ones that will return results, use
or check rppo:::ppo_filters$mapped_traits which contains both present
and absent terms.
For more information on the PPO ontology itself, we suggest loading the PPO
presentTerms <- ppo_terms(present = TRUE, timeLimit = 1) #> sending request for data ... #> https://biscicol.org/api/v1/ppo/present/ #> The server is not responding. #> If the problem persists contact the author. absentTerms <- ppo_terms(absent = TRUE, timeLimit = 1) #> sending request for data ... #> https://biscicol.org/api/v1/ppo/absent/ #> The server is not responding. #> If the problem persists contact the author.