Given relative risks (RR) and upper bounds of 95% confidence intervals (CI)
from a forest plot or summary table, returns a dataframe ready for metaanalysis
(e.g., via the metafor
package) with the logRRs and their variances.
Optionally, the user may indicate studies for which the point estimate is to be
interpreted as an odds ratios of a common outcome rather than a relative risk;
for such studies, the function applies VanderWeele (2017)'s squareroot transformation to convert
the odds ratio to an approximate risk ratio.
1  scrape_meta(type = "RR", est, hi, sqrt = FALSE)

type 

est 
Vector of study point estimates on RR or OR scale 
hi 
Vector of upper bounds of 95% CIs on RRs 
sqrt 
Vector of booleans (TRUE/FALSE) for whether each study measured an odds ratio of a common outcome that should be approximated as a risk ratio via the squareroot transformation 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.