Wash the thyme and dab dry. Put 2-3 stems aside for garnishing. Remove coarse stems from the remaining thyme. Finely chop the rest. Mix chopped thyme with cranberries and set aside.
Peel, wash and finely grate the potatoes. Peel and grate onion. Mix potatoes, onion, eggs and flour. Season with salt and nutmeg. Heat oil in portions in a pan. Bake 12 potato pancakes from the potato dough one after the other.
Halve the cheese, cut into thin slices and spread on the grated cake. Gratinate under the grill of the oven until golden brown, take out. Arrange with the cranberry compote on preheated plates and garnish with thyme.