View source: R/get_year_pubs.R
get_year_pubs | R Documentation |
Produces a spreadsheet with extra data about the
publication, adding the corrected year of publication and the counting of
synonyms of each species. It is an optional function to be used after run
expowo's powoSpecies
and to use as input data in the expowo's
accGraph
.
get_year_pubs(inputdf = NULL,
verbose = TRUE,
save = FALSE,
dir = "results_POWO_with_year_pubs",
filename = "POWO_with_year_pubs")
inputdf |
A dataframe generated using |
verbose |
Logical, if |
save |
Logical, if |
dir |
Pathway to the computer's directory, where the file will be saved
provided that the argument |
filename |
Name of the output file to be saved. The default is to create a file entitled POWO_with_year_pubs. |
Objects of class dataframe and saves the output on disk.
Debora Zuanny & Domingos Cardoso
megaGen
powoSpecies
powoFam
powoGenera
accGraph
## Not run:
library(expowo)
output <- powoSpecies(family = "Fabaceae",
genus = NULL,
synonyms = TRUE,
country = NULL,
save = FALSE,
dir = "Fabaceae_results_powoSpecies",
filename = "Fabaceae_spp")
output_year_pubs <- get_year_pubs(inputdf = output,
verbose = TRUE,
save = FALSE,
dir = "results_POWO_with_year_pubs",
filename = "POWO_with_year_pubs")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.