get_year_pubs {expowo} | R Documentation |
Secondary function to transform data generated with powoSpecies
Description
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
.
Usage
get_year_pubs(inputdf = NULL,
verbose = TRUE,
save = FALSE,
dir = "results_POWO_with_year_pubs",
filename = "POWO_with_year_pubs")
Arguments
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. |
Value
Objects of class dataframe and saves the output on disk.
Author(s)
Debora Zuanny & Domingos Cardoso
See Also
Examples
## 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)