tfr_raw_data {bayesTFR}R Documentation

Raw TFR Data

Description

Data set containing the raw TFR estimates for all countries and the data quality covariates.

Usage

data("rawTFR")

Format

A data frame with 12709 observations on the following 5 variables.

country_code

Three-digit UN ISO-3166 code for the country of that observation is for.

year

a numeric vector for the year of the observation data.

tfr

TFR value.

method

Estimation method to obtain this value. One of the categorical data quality indicator.

source

Source of the data. One of the categorical data quality indicator.

Details

It is used as the default raw TFR data in a run.tfr.mcmc simulation. It can be used as a template for a user-defined data which can be provided via the my.tfr.raw.file argument of run.tfr.mcmc. The “method” and “source” columns are used as the default data quality covariates.

Source

Data provided by the United Nations Population Division.

Examples

data(rawTFR)
head(rawTFR)

[Package bayesTFR version 7.4-2 Index]