This story has been updated from Oct. 20, 2015 with additional information. 

The national debate over work-life balance expanded from corporate America to Washington, D.C. Rep. Paul Ryan (R., Wisc.), who agreed on Friday to run for speaker of the House of Representatives, said he would do so under certain conditions. Ryan said he would take the position of leading the House of Representatives so long as he could spend weekends with his family. 

"I cannot and will not give up my family time," he said Tuesday, according to CNN.

Maintaining a healthy work-life balance can be tough in today's "always connected" work environment, but some jobs allow for more flexibility than others.

Unfortunately, average work-life balance satisfaction ratings have been on the decline for several years, according to Glassdoor, a Web site for job seekers that shares employee-written company reviews, CEO approval ratings, salary reports and interview questions. On average, employees have rated work-life balance a 3.2 this year, down from 3.4 in 2012 and 3.5 in 2009, according to Glassdoor's 5-point rating system.

Glassdoor's latest report identifies the 25 best jobs for work-life balance by culling employee reviews from its Web site on employee work-life balance satisfaction.

"Many employees are now connected to their work 24/7 thanks to technology, often checking their email and putting in extra hours on nights, weekends and even when they're out on vacation in many cases," according to Scott Dobroski, Glassdoor's career trends analyst, in an email. "When it comes the jobs on Glassdoor's Best Jobs for Work-Life Balance report, we see employees able to maintain a healthy work-life balance. For example, the No. 1 job on our list, data scientist, boasts flexibility and the ability to work from home or come into the office later to accommodate schedules. Plus, the high-demand for data scientists gives job candidates more weight in negotiating their schedules."

Ironically some of the most demanding jobs currently also boast strong work-life balance, particularly in the tech industry.

"Tech companies are known for their generosity in offering their employees flexible work schedules and the ability to schedule their own hours," Dobroski wrote. "In addition, tech companies also grant perks such as on-site gyms and unlimited vacation policies that make it easy for employees to prioritize healthy lifestyles and make room for personal time."

Job titles considered in the report must have at least 75 "work-life balance" ratings shared by U.S.-based employees over 12 months through September 30. The jobs must also include the term as one benefit to the job for at least 15% of its reviews on Glassdoor.com. Each job title must also have at least 200 job openings on Glassdoor's site to be considered for this report.

Check out which professions were ranked highest for work-life balance.

Image placeholder title

25. Front End Developer
Work-Life Balance Rating: 3.7
Average Salary: $75,000
Number of Job Openings: 1,337

Companies hiring front end developers include IBM, Bloomberg and Garmin.


24. Software Developer
Work-Life Balance Rating: 3.7
Average Salary: $80,000
Number of Job Openings: 3,330

Image placeholder title

Companies hiring software developers include FXCM, Adobe and Pariveda Solutions.


23. Lab Assistant
Work-Life Balance Rating: 3.7
Average Salary: $27,550
Number of Job Openings: 779

Image placeholder title

Companies hiring lab assistants include Simi Valley Hospital in Simi Valley, Calif., St. Dominic Hospital in Jackson, Miss., and Central Florida Health Alliance in Leesburg, Fla.


22. Solutions Engineer
Work-Life Balance Rating: 3.7
Average Salary: $92,456
Number of Job Openings: 652

Image placeholder title

Companies hiring solutions engineers include Rocket Fuel, Adobe and Facebook.

Image placeholder title

21. Content Manager
Work-Life Balance Rating: 3.7
Average Salary: $60,960
Number of Job Openings: 409

Companies hiring content managers include Intuit, Cengage Learning in Farmington Hills, Mich., and YP in New York.


20. Data Analyst
Work-Life Balance Rating: 3.7
Average Salary: $58,928
Number of Job Openings: 1,954

Image placeholder title

Companies hiring data analysts include Affinity Solutions in New York, Northside Hospital in Atlanta and Credit Suisse.


19.Program Analyst
Work-Life Balance Rating: 3.7
Average Salary: $71,120
Number of Job Openings: 524

Image placeholder title

Companies hiring program analysts include UPS in Richmond, Va., Roush Industries in Allen Park, Mich., and CIT.


18. Research Technician
Work-Life Balance Rating: 3.8
Average Salary: $36,525
Number of Job Openings: 299

Image placeholder title

Companies hiring for research technicians include Fred Hutchinson Cancer Research Center in Seattle, Priority One Services in Durham, N.C., and Thermo Fisher Scientific in Canoga Park, Calif.


17. Web Designer
Work-Life Balance Rating: 3.8
Average Salary: $53,848
Number of Job Openings: 500

Image placeholder title

Companies hiring web designers include Creative Circle in Philadelphia, Phacil in Albuquerque and Northwestern University.


16. Software QA Engineer
Work-Life Balance Rating: 3.8
Average Salary: $91,440
Number of Job Openings: 457

Image placeholder title

Companies hiring software QA engineers include Grub Hub, TD Ameritrade in Ann Arbor, Mich., and NTN Buzztime in San Diego.


15. Marketing Analyst
Work-Life Balance Rating: 3.8
Average Salary: $60,000
Number of Job Openings: 341

Image placeholder title

Companies hiring marketing analysts include Bounce Exchange in New York, Sage in Reston, Va., and Skyworks Solutions in Irvine, Calif.


14. Instructional Designer
Work-Life Balance Rating: 3.8
Average Salary: $66,040
Number of Job Openings: 782

Image placeholder title

Companies hiring instructional designers include Wegmans in Rochester, N.Y., ConnectWise in Tampa and Creative Circle in Philadelphia.


13. Client Manager
Work-Life Balance Rating: 3.8
Average Salary: $71,120
Number of Job Openings: 503

Image placeholder title

Companies hiring client managers include Wells Fargo, Hair Club for Men and Women in Indianapolis and Cisco.


12. Civil Engineer
Work-Life Balance Rating: 3.8
Average Salary: $65,532
Number of Job Openings: 809

Image placeholder title

Companies hiring civil engineers include Michael Baker International in Linthicum, Md., Prime Engineering in Atlanta and Transystems in Fort Worth, Texas.


11. Risk Analyst
Work-Life Balance Rating: 3.8
Average Salary: $69,088
Number of Job Openings: 208

Image placeholder title

Companies hiring risk analysts include Coach, T. Rowe Price and CIT.

Image placeholder title

10. Web Developer
Work-Life Balance Rating: 3.8
Average Salary: $66,040
Number of Job Openings: 2,117

Companies hiring web developers include Cisco, Sony PlayStation and Tesoro.


9. Marketing Assistant
Work-Life Balance Rating: 3.8
Average Salary: $32,512
Number of Job Openings: 384

Image placeholder title

Companies hiring for marketing assistants include Oxford University Press, Grow Financial Credit Union and XL Catlin.


8. Digital Marketing Manager
Work-Life Balance Rating: 3.9
Average Salary: $70,052
Number of Job Openings: 640

Image placeholder title

Companies hiring for digital marketing managers include Mimecast, E. and J. Gallo and Yodle.


7. User Experience (UX) Designer
Work-Life Balance Rating: 3.9
Salary: $91,440
Number of Job Openings: 338

Image placeholder title

Companies hiring for user experience designers include Priceline.com, Sony Playstation Network and 1-800 CONTACTS.


6. Recruiting Coordinator
Work-Life Balance Rating: 3.9
Average Salary: $44,700
Number of Job Openings: 446

Image placeholder title

Companies hiring recruiting coordinators include Fitbit, Yelp and Ghirardelli Chocolate.


5. Substitute Teacher
Work-Life Balance Rating: 3.9
Average Salary: $24,380
Number of Job Openings: 590

Image placeholder title

Substitute teachers are in demand in Washington, D.C., New York City and San Francisco, among other metro areas.


4. Social Media Manager
Work-Life Balance Rating: 4.0
Average Salary: $40,000
Number of Job Openings: 661

Image placeholder title

Companies hiring social media managers include Zoosk, Favorite Foods and Creative Circle.


3. Talent Acquisition Specialist
Work-Life Balance Rating: 4.0
Average Salary: $63,500
Number of Job Openings: 1,171

Image placeholder title

Companies hiring talent acquisition specialists include Edward Jones, Asana and TelePacific Communications.


2. SEO Manager
Work-Life Balance Rating: 4.1
Average Salary: $45,720
Number of Job Openings: 338

Image placeholder title

Companies hiring SEO managers include Amazon.com, Ask.com and Microsoft.


1. Data Scientist
Work-Life Balance Rating: 4.2
Average Salary: $114,808
Number of Job Openings: 1,315

Image placeholder title

Companies hiring data scientists include Ancestry.com, Fitbit and PopSugar.