Sum of age_specific_fertility_rate()'s asfr (births per woman) over single years of age: the expected number of children per woman under the year's age schedule.

total_fertility_rate(asfr_df)

Arguments

asfr_df

Output of age_specific_fertility_rate().

Value

A tibble with nuts3_code, province_name, year, tfr (children per woman).

Examples

asfr <- tibble::tibble(
  nuts3_code = "ES111", province_name = "A Coruna", year = 2023,
  age = c(20, 30), asfr = c(0.03, 0.08), asfr_female = c(0.015, 0.04)
)
total_fertility_rate(asfr)
#> # A tibble: 1 × 4
#>   nuts3_code province_name  year   tfr
#>   <chr>      <chr>         <dbl> <dbl>
#> 1 ES111      A Coruna       2023  0.11