Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PLEASE read the question carefully before you start to work , just in case negtive feedback. THX ! * * * * * * *
PLEASE read the question carefully before you start to work just in case negtive feedback. THX
deaths.csv contains a portion of the data from NYC about causes of death for the year
Dataset format: CSV
Field names in order: Year, Ethnicity, Sex, Cause of Death, Death Count.
Answer the following questions from this data using UNIX commands.
: How many male record groups and how many female record groups does the data have?
: How many white female groups are there? Copy entire records of females to
a new text file where the records are organized by death count in descending
order.
: List all causes of death by their counts in descending order; do not worry
about summing any rows together, just sort the count of causes of death
column. What are the three most common causes of death for black males, and
five least common causes of death for hispanic females?
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Q result shows like this:
Female
Male
deathscsv
Asian Female Malignant Neoplasms cancer
Asian Female Diseases of Heart
Asian Female Cerebrovascular Disease stroke
Asian Female Influenza Flu and Pneumonia
Asian Female Diabetes Mellitus
Asian Female Essential Hypertension and Renal Diseases
Asian Female Chronic Lower Respiratory Diseases
Asian Female Accidents Except Drug Poisoning
Asian Female Certain Conditions Originating in the Perinatal Period
Asian Female Intentional SelfHarm Suicide
Asian Female Nephritis and Nephrotic Syndromes
Asian Female Alzheimer's Disease
Asian Female NonHodgkins's Lymphoma
Asian Female Leukemia
Asian Female Chronic Liver Disease and Cirrhosis
Asian Female Insitu or Benign Uncertain Neoplasms
Asian Female Assault Homicide
Asian Female Congenital Malformations and Chromosomal Abnormalities
Asian Female Septicemia
Asian Female Viral Hepatitis
Asian Female Aortic Aneurysm and Dissection
Asian Female Atherosclerosis
Asian Female Maternal Causes
Asian Female Parkinson's Disease
Asian Female Peptic Ulcer
Asian Female Pregnancy and Childbirth
Asian Female Human Immunodeficiency Virus HIV Disease
Asian Female All Censored Causes
Asian Female Cholelithiasis and Disorders of Gallbladder
Asian Female Anemias
Asian Female Mental and Behavioral Disorders due to use of or Accidental Poisoning by Psychoactive Substances Excluding Alcohol and Tobacco
Asian Female Tuberculosis TB
Asian Male Malignant Neoplasms cancer
Asian Male Diseases of Heart
Asian Male Influenza Flu and Pneumonia
Asian Male Cerebrovascular Disease stroke
Asian Male Diabetes Mellitus
Asian Male Chronic Lower Respiratory Diseases
Asian Male Accidents Except Drug Poisoning
Asian Male Intentional SelfHarm Suicide
Asian Male Essential Hypertension and Renal Diseases
Asian Male NonHodgkins's Lymphoma
Asian Male Chronic Liver Disease and Cirrhosis
Asian Male Certain Conditions Originating in the Perinatal Period
Asian Male Leukemia
Asian Male Viral Hepatitis
Asian Male Nephritis and Nephrotic Syndromes
Asian Male Septicemia
Asian Male Alzheimer's Disease
Asian Male Assault Homicide
Asian Male Congenital Malformations and Chromosomal Abnormalities
Asian Male Mental and Behavioral Disorders due to use of Alcohol
Asian Male Insitu or Benign Uncertain Neoplasms
Asian Male Parkinson's Disease
Asian Male Atherosclerosis
Asian Male Cholelithiasis and Disorders of Gallbladder
Asian Male Anemias
Asian Male Aortic Aneurysm and Dissection
Asian Male Tuberculosis TB
Asian Male Mental and Behavioral Disorders due to use of or Accidental Poisoning by Psychoactive Substances Excluding Alcohol and Tobacco
Asian Male Peptic Ulcer
Asian Male Human Immunodeficiency Virus HIV Disease
Asian Male All Censored Causes
Asian Male Complications of Medical and Surgical Care
Asian Male Legal Intervention
Asian Male Meningitis
Hispanic Female Diseases of Heart
Hispanic Female Malignant Neoplasms cancer
Hispanic Female Influenza Flu and Pneumonia
Hispanic Female Diabetes Mellitus
Hispanic Female Cerebrovascular Disease stroke
Hispanic Female Chronic Lower Respiratory Diseases
Hispanic Female Essential Hypertension and Renal Diseases
Hispanic Female Human Immunodeficiency Virus HIV Disease
Hispanic Female Alzheimer's Disease
Hispanic Female Accidents Except Drug Poisoning
Hispanic Female Mental
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