The trouble with this example is that Ireland was having a famine. The rising potato price was almost certainly caused by a supply shortage, making it highly unlikely that people were able to consume more of them. That has not stopped generations of textbook writers from using this particular example. Now, they can finally switch to a case with a bit more proof behind it.