Grate the lemon peal and zest half of the lemon.
Stir the spaghetti into a pot of salted boiling water and cook until only still 5min of cooking time remain.
Throw in the edamame and cook for those remaining 5min.
Now drain the pasta and edamame saving some of the pasta water.
Add the lemon juice and peal to the drained pasta and edamame. Stir in the ricotta, salt and pepper, dried cranberries and add pasta water until nice and creamy. Voilà!