Extracts preeclampsia risk scores and biomarker MoM values from FMF calculator HTML response
Usage
extract_risk_scores(html_content, report_as_text = FALSE)
Arguments
- html_content
String containing HTML response from calculator
- report_as_text
Boolean, whether to return risks as text fractions (default: FALSE)
Value
List containing:
mom_MAP: Mean Arterial Pressure MoM
mom_PI: Pulsatility Index MoM
mom_PlGF: PlGF MoM
risk_prior: Prior risk (numeric or text)
risk: Final risk (numeric or text)