At many small-town Iowa summer celebrations, families can expect to see parades, community cookouts and maybe a few carnival rides for the kids.

Greenfield’s July 4 celebration gave kids — and their parents — the fun of holding baby pigs, playing in mini pools of corn and soybeans, and meeting local farmers who grow their food.

The Adair County Farm Bur­eau helped host the...