Per capita spending by level and function