count_current_esi_creators: Count the ESI's in a creator table

View source: R/count.R

count_current_esi_creatorsR Documentation

Count the ESI's in a creator table

Description

In either a grant investigators or publication authors table, count the number of ESIs.

Usage

count_current_esi_creators(.x)

Arguments

.x

An investigator or author table

Details

A grant has a table of investigators and a publication has a table of authors. In either case, each creator can have a Partnership Role of ESI. This function will count the number of such ESI's for the grant/publication.

Value

The count of the number of ESI's

Note

Empty tables can be a little tricky, so there is special code to return a count of 0 if the table is empty.


steveneschrich/pgreportr documentation built on Jan. 13, 2025, 7:09 p.m.