file_get_scientific_names_from_GNRD: Function to pull scientific names from file using GNRD

View source: R/findscientificnames.R

file_get_scientific_names_from_GNRDR Documentation

Function to pull scientific names from file using GNRD

Description

This uploads a file (a PDF, Microsoft Word document, plain text file, etc.) and extracts all scientific names from it. For example, you can input a PDF of a scientific article and it will return all the scientific names in that article.

Usage

file_get_scientific_names_from_GNRD(
  file_name,
  search_engine = 0,
  above_species = FALSE
)

Arguments

file_name

The file path and name to extract names from

search_engine

1 to use TaxonFinder, 2 to use NetiNeti, 0 to use both

above_species

Boolean. Default to FALSE. If TRUE it will only return scientific names above the species level.

Details

It requires that curl is installed on your system.

Value

A vector of scientific names

See Also

https://github.com/phylotastic/phylo_services_docs/tree/master/ServiceDescription


phylotastic/rphylotastic documentation built on Aug. 22, 2023, 9:51 p.m.