Daily Turkish Lira Emerging Markets Currency Index

This index shows the Turkish Lira’s performance against the average of the following 14 emerging nation currencies:

Czech Koruna, Croatian Kuna, Polish Zloty, Romanian Leu, Thai Baht, Indian Rupee, Indonesian Rupiah, Malaysian Ringgit, Philippine Peso, Brazilian Real, Chilean Peso, Colombian Peso, Argentine Peso, Mexican Peso.

The index equal to 100 on 01 Jan 2018. The index data can be downloaded here.

Here is the code in to produce the above plotly figure (will appear in a minute):

library("ggplot2") #tidyverse graph
library("plotly") #animated graph
library("widgetframe") #frame package

index <- read.csv("https://www.soybilgen.com/files/TRYEMindex.csv", stringsAsFactors = F)
index$Date <- as.Date(index$Date, "%Y-%m-%d")

p <- ggplot(data = index, aes(x = Date)) +
  geom_line(aes(y=Index), color="darkred") + theme_bw() +
  labs(x = "", y = "",
  title ="TRY-EM Currency Index") + 
  scale_x_date(date_breaks = "3 months" , date_labels = "%b-%y")

g <- ggplotly(p, dynamicTicks = TRUE) %>% rangeslider()

frameWidget(g)
Baris Soybilgen
Baris Soybilgen
Assistant Professor in the Department of Management Information Systems

Economist with a strong focus in applied econometrics and data science.

Related