get_wfh_zchart | R Documentation |
Function to extract weight-for-length/height z-score data from the World Health Organization (WHO) website on Child Growth Standards (http://www.who.int/childgrowth/standards/) which contains a collection of reference data from the WHO Multicentre Growth Reference Study (MGRS). This function extracts the expanded data provided by WHO for creating growth charts for weight-for-length/height z-scores.
get_wfh_zchart( baseurl = "http://www.who.int/childgrowth/standards/", gender = c("boys", "girls") )
baseurl |
Character value for the base URL of the WHO Child Growth Standards. The default is http://www.who.int/childgrowth/standards/. This can be adjusted should WHO change the base URL for the Child Growth Standards section of their website. |
gender |
A character value or vector that specifies the sex-specific
reference data to extract. The default is |
A data frame in tidy format with 4 coloumns and 21636 rows:
Variable | Description |
sex | Sex of child. 1 = boy; 2 = girl |
lh | Length/height of child in centimetres |
sd_type | Type of z-score. Can be one of 4SD, 3SD, 2SD, 1SD, 0, |
-1SD, -2SD, -3SD, -4SD | |
sd_value | Weight (kgs) value for the specified sd_type |
Ernest Guevarra
# Get weight-for-length/height z-score expanded tables for charting #if (interactive) get_wfh_zchart()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.