Question: Step 1 . Adjust the file and / or file path to read in your firefighter and police data file as you did in Milestone
Step Adjust the file andor file path to read in your firefighter and police data file as you did in Milestone Two.
Step Adjust the data set name for each file to the same name you assigned in Milestone Two.
Step Adjust the variable names in the script provided to be the same variable names you defined in Milestone Two. Make sure to adjust both the name of the data set and the variable name. Note that you will have a total of variables, which are fields from each of the data files and then the minmaxmean for each of these, so there are a total of variables generated. #Read in Files
libraryreadr
#Adjust the file name and file path below for each of the files. Use the same file read code from Milestone Two
firefighter readcsv~SNHUDATMilestonesdatmilestonetwodatafirefighter.csv
Viewfirefighter
police readcsv~SNHUDATMilestonesdatmilestonetwodatapolice.csv
Viewpolice
#Adjust the sample field names and variable names below to be the same fields used in Milestone Two
polTotSalMinminpolice$Total Salary
polTotSalMaxmaxpolice$Total Salary
polTotSalAvgmeanpolice$Total Salary
ffTotSalMinminfirefighter$Total Salary
ffTotSalMaxmaxfirefighter$Total Salary
ffTotSalAvgmeanfirefighter$Total Salary
polRetMinminpolice$Retirement
polRetlMaxmaxpolice$Retirement
polRetAvgmeanpolice$Retirement
ffRetMinminfirefighter$Retirement
ffRetMaxmaxfirefighter$Retirement
ffRetAvgmeanfirefighter$Retirement
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
