Create a Scaled SVD Object from HFD Age-Specific Fertility Data
ssvd_hfd.RdCreate an object of class "bage_ssvd"
from age-specific fertility data from the
the Human Fertility Database.
Lowest and highest ages
The original HFD data contains age groups "12-" (ie 12 and younger)
and "55+" (ie 55 and older). We treat these as closed intervals
"12" and "55".
If an age classification in the return value covers a narrower range than the data itself, then the youngest age group in the return value includes ASFRs from younger age groups in the data, and the oldest age group in the return value includes ASFRs from older age groups in the data. For instance, if the classification in the return value starts at age 15, but the data starts at age 12, the ASFR for age 15 includes ASFRs from ages 12, 13, and 14.
This shifting of ASFRs is common in analyses of fertility.
Usage
Step 1: Download data
Register or log in at the Human Fertility Database, and go to page ZippedDataFiles. Go to the "By statistic" table, and download the file from the "Age-specific fertility rate" row.
Step 2: Call function 'ssvd_hfd'
Extract the file asfrRR.txt from the downloaded data,
and read in the contents,
Step 3: Call function 'ssvd_hfd'
See also
hfd_tidy()Tidy raw data, but do not process into SVD object.ssvd_lfp()Created scaled SVD object from OECD labour force participation rate data.bage::SVD(),bage::SVDS()to use an object of class"bage_ssvd"in a prior.