count_since: Count number of data points since specified date

Description Usage Arguments Value

View source: R/utils-summary.R

Description

count_since takes a billionaire::load_billion_data() dataframe and count the number of data points exists for each indicator in df since the specified year.

Usage

1
count_since(df, year_specified, year, ind, iso3, type_col)

Arguments

df

Data frame in long format, where 1 row corresponds to a specific country, year, and indicator.

year_specified

numeric

year

Column name of column with years.

ind

Column name of column with indicator names.

iso3

Column name of column with country ISO3 codes.

type_col

Column name of column with type data.

Value

data frame


ElliottMess/rapporteur documentation built on Jan. 28, 2022, 2:51 a.m.