Both, each one for their specialties and in their moments; but be careful with the fangs and hooves of the large pigs, Landrace, Pietrain, Duroc…
Farm large pigs are not for beginners, warning!
Both Boar and Goat are on my bucket list, not sure it will ever happen though, my chances of coming across either living in an apartment in a small city are pretty slim.
The goats will disappoint you, they are restless and unruly and you only feel a warm tube without any palpitation. The males hit them on the sides with their paws and she´s decide when, I am not about to elbow a goat on its flanks.
Furthermore, its smell is not as pleasant as that of other herbivores.
...And never say you won't be able to, I was also living to the the fields in the past and for laboral cuestions for a long time in a city until recently.
Another thing would be a fantasy species, like tapirs or entelodonts.