Create a list of tables with coverage estimates at 1) regional, WLD, TOT and 2) income group levels.

db_create_coverage_table(
  ref_year_table,
  pop_table,
  cl_table,
  incgrp_table,
  ref_years,
  digits = 2,
  special_countries = c("ARG", "CHN", "IDN", "IND", "SUR")
)

Arguments

ref_year_table

data.table: Full interpolated means table. Output of db_create_ref_year_table().

pop_table

data.table: A table with population data.

cl_table

data.table: Country list table with all WDI countries.

incgrp_table

data.table: Table with historical income groups for all WDI countries.

ref_years

numeric: A vector with reference years.

digits

numeric: The number of digits the returned coverage numbers are rounded by.

special_countries

character: A string with 3-letter country codes.

Value

list