getNumberofRounds: getNumberofRounds

Description Usage Arguments Value Examples

Description

Same thing as getRounds, but only returns the number of rounds.

Usage

1

Arguments

country

A string character representation of the country whose round data you're looking to get.

Value

The number of rounds a given country has. Equivalent of length(getRounds(country)).

Examples

1
2
3
#getting the number of rounds for Senegal
sen_roundnum <- getNumberofRounds(country='Senegal')
paste('Senegal has ',sen_roundnum, ' rounds of data',sep="",collapse="")

AbdouSeck/AfroData documentation built on May 5, 2019, 11:43 a.m.