Raw potato is toxic. The skin contains the poison solanine. Potatoes with green skin from being in the sun have higher levels of solanine. I wouldn't eat raw potatoes. Besides: yuck.
Cooked (cooking destroys the poison) potatoes OTOH are great food on longer rides.