President Obama invoked his Kansas roots Tuesday in a statement praising America's rural areas and suggesting that coal and farm towns are fast shifting to the digital economy under his leadership.

"I've spent most of my life living in big cities. But the truth is, a lot of what's shaped me came from my grandparents who grew up on the prairie in Kansas," he said in a statement issued by the Agriculture Department.

"They taught me the kind of values that don't always make headlines, let alone the daily back-and-forth in Washington. Honesty and responsibility. Hard work and toughness against adversity. Keeping your word, and giving back to your community. And treating folks with respect, even if you disagree with them," he added.

The statement appears to be part of the administration's legacy project to promote the president's successes that aren't obvious.

In it, he discusses bringing rural America into the 21st Century, a theme once used by former President Bill Clinton when he talked of building a "bridge to the 21st Century."

Obama even quoted a key Republican.

"We certainly still have more work to do, but we're moving in the right direction. And that couldn't be more important. Because as a prominent rural Kansan – President Eisenhower – once said, 'Whatever America hopes to bring to pass in the world must first come to pass in the heart of America,'" he wrote.

Below is the full statement offered as an op-ed:

Op-ed from President Barack Obama on the Strength and Resilience of Rural America

WASHINGTON, Oct. 4, 2016 – By: President Barack Obama

I've spent most of my life living in big cities. But the truth is, a lot of what's shaped me came from my grandparents who grew up on the prairie in Kansas. They taught me the kind of values that don't always make headlines, let alone the daily back-and-forth in Washington. Honesty and responsibility. Hard work and toughness against adversity. Keeping your word, and giving back to your community. And treating folks with respect, even if you disagree with them.

They're the same values I saw as a Senator in Illinois, driving long country roads to visit with folks in small towns. They're the same values I saw in Iowa, campaigning for this office in community centers and coffee shops and high school cafeterias. They're the same values that have inspired me every day as President, in visits to all 50 states and letters I read every night from every corner of this nation. And it's only reinforced my belief that the values that drive our small towns and rural communities are the same ones that drive America as a whole.

At the same time, what's also true is that when our country is tested, our rural communities are tested as well. An economy that's been changing for decades – more automation, more global competition – has, in many ways, hit rural communities particularly hard. Too many people are still fighting back from the recklessness on Wall Street that shuttered storefronts on Main Street. Too many workers are still reeling from plants that moved overseas and took good jobs with them. Too many communities are struggling to compete, hamstrung by lagging infrastructure like slow or nonexistent broadband connections. And too many families have been ravaged by the heartbreaking epidemic of opioid use.

For too long, leaders who could do something to help have passed the buck or pointed fingers, rather than offer concrete solutions and new avenues of opportunity. But we've pursued a different approach – one that helps workers retrain and learn the skills they need for a job in the new economy. One that supports small businesses and entrepreneurs to help attract more of the new economy's jobs to rural communities. One that upgrades our schools – from working toward universal preschool to two years of free community college – so that all our kids have the same chance to reach their potential without having to leave their hometown.

Over the last eight years, my Administration has worked hand-in-hand with rural communities to build more opportunity – investing in rural schools, supporting rural small business owners, deploying high speed internet and wireless, and building partnerships between businesses and colleges to help train folks not just for a job, but for a career. And for those struggling with opioid use, we've expanded access to treatment to help them get the care they need.

So we're making progress – progress that's possible only because of the strength and resilience of the people in our rural communities.

In Pikeville, Kentucky, former coal miners are trading coal for code. They're retraining to learn HTML, JavaScript, and PHP, transforming an old bottling factory into a digital hub. It's a transition that not only supports good jobs, but also offers a glimpse of what the future could look like in other communities like Pikeville.

In Clinton County, Ohio, young people have organized to tackle the brain drain, creating a fellowship program that matches local businesses with college students home for the summer. And those young people aren't just learning, they're leading – just last year, Wilmington, Ohio elected a majority-Millennial city council.

In Piedmont, Alabama, school leaders have invested in high-speed connectivity and laptops for every student, so that teachers can tailor lessons to individual students and assess each student's progress in real time. Already, test scores and graduation rates are up, and tiny Piedmont City School District has emerged as a national model for digital learning.

That's what rural America can look like in the 21st Century. Smart investments that lead to real, tangible progress. Today, rural unemployment has dropped from a high of about ten percent during the Great Recession to six percent. The rural child poverty rate is dropping, and rural median household incomes are rising again.

We certainly still have more work to do, but we're moving in the right direction. And that couldn't be more important. Because as a prominent rural Kansan – President Eisenhower – once said, "Whatever America hopes to bring to pass in the world must first come to pass in the heart of America."

In so many ways, from its resilience and ingenuity in the face of a challenge to the defining values that power it every day, rural America represents that beating heart. That's why these communities are so important – because when America's rural communities are strong, America is strong.

Paul Bedard, the Washington Examiner's "Washington Secrets" columnist, can be contacted at pbedard@washingtonexaminer.com