The World Bank has a Knowledge Index that they calculate for countries that can be used as a tool to understand trends.