getYear: Extract year

View source: R/specieshindex.R

getYearR Documentation

Extract year

Description

Extracts the year of each publication of the output from any of the Fetch functions and counts the number of publications each year.

Usage

getYear(data, genus, species)

Arguments

data

Output from any of the fetch function.

genus

Genus classification from the binomial name.

species

Species classification from the binomial name.

Value

A dataframe with the year and frequency of the publications

Examples

## Not run: 
Woylie <- Fetch(db = "scopus",
                search = "tak",
                genus = "Bettongia",
                species = "penicillata")

## End(Not run)
getYear(data = Woylie,
        genus = "Bettongia",
        species = "penicillata")


jessicatytam/specieshindex documentation built on June 24, 2022, 3:31 a.m.