Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Former President Bill Clinton said in his speech to the Democratic National Convention in Charlotte in 2 0 1 2 : Since 1 9 6
Former President Bill Clinton said in his speech to the Democratic National Convention in Charlotte in :
Since for years now, the Republicans have held the White House years, the Democrats In those years, our private economy has produced million privatesector jobs. So whats the jobs score? Republicans million, Democrats million
In the packed convention hall, it was one of the nights biggest applause lines.
Did he have his facts right? Your project is to convince the grader whether Clinton was right or wrong.
We provide you a formatted copy of the file BLSprivate.csv which is a download from the from the Bureau of Labor Statistics blsgov Data in the file are in thousands. Clinton probably got his data from an article on bloomberg.com that is no longer publicly available. Bloombergs writer got their data from the Bureau of Labor Statistics blsgov at the US Department of Laborthe definitive, nonpartisan source of jobs data. In the quote above you can see that he refers to private employment data, seasonally adjusted The data can be found here if you check the box Total Private Employment. You then need to select the years starting in up to The result is an MS Excel file that can be saved in commaseparated values format csv You should verify that we are providing you the correct data.
You need data on the presidents in the specified time period so that you can check Clintons statement. What data do you need? Part of your task is to figure out what data you need. You will have to research the presidents to gather data and store it in a file that you create called presidents.txt Your presidents.txt file cannot have any jobs data in itall jobs data must come from the BLSprivate.csv file. Your presidents.txt file will simply be a file of words and numbers that you can create using a simple text editor or Excel.
Your task is to analyze and synthesize the input from the BLSprivate.csv and your presidents.txt file to see if you can verify or discredit Clintons statement.
There are a number of implicit challenges such as What does Clinton mean by 'produced and other ideas open for interpretation.
You may ask what output we expect from your program. That is purposefully unspecifiedyou decide what is the most effective way to make your point. You need enough output to show that YOU have verified or discredited Clintons assertion. Simply saying verifiedor not is not sufficient: justify your assertion. Simply quoting other articles will earn you points, regardless of effort. Your code, your comments, and your output need to convince the grader that YOU solved the problem with understandable code that answered the question being asked.
Logistics
Files
You will write andor modify several files as part of this project:
BLSprivate.csv contains the provided data. You may modify this file.
presidents.txt should contain information that your analysis can use about presidents. This file must not contain jobs data!
factcheck.py will contain relevant python code. Use it to conduct analyses of the data. It may print results to the terminal or to conclusions.md
conclusions.md should contain your answers in prose! to the questions. You may enter plain text or optionally use markdown formatting. You may write the contents of this file manually or programmatically.
The provided BLS csv data file is cleaned up and should be straightforward to use with any of the various python modules you might consider using.
You choose which data structures you want to use in analyzing your datathat is not specified for you. However, we do not expect you to use classes.
Note that two presidents did not complete their terms and that may change the numbers a bit. A correction might affect the results.
Rubric
Manually graded
points Labor data used as input is correct and complete
points Give results for democratic presidents
points Give results for republican presidents
points Give a clear conclusion that answers the question being asked
points Results are correct given assumptions made
points Conclusion drawn is reasonable given assumptions made
points The correct answer is given yes there is one
points presidents.txt file contains no labor data, only data about presidents
points There is a module docstring with the required information, including exactly how to run this program.
points The program validates inputs and fails gracefully when necessary.
Automatically graded
points Code has a main function with conditional execution. There is no global code.
points Every function has a proper function docstring.
points Variables are named with snake case.
I would appreciate a full solution if possible. I know this one seems a bit tricky.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started