R Code Example

The following code using R to output the EPV in Valuation for WMT.

Request Libraries:

                library(jsonlite)
document <- fromJSON("https://api.gurufocus.com/public/user/{api_token}/stock/WMT/keyratios");
epv <- document$Valuation$`EPV`
cat(epv)

The output object of EPV:

85.68