Generates a website about australian road fatalities

Assignment Help Case Study
Reference no: EM132316032

Generated Web Site for Aussie Road Fatalities

Your task in this assignment is to write a Python program that generates an informative web site about Australian Road Fatalities over the last 30 years, showing summary statistics about the crash types, speed limits, vehicle types, times of day, and the ages and genders of the people who died.

This will allow viewers to get insights into the data, and to identify trends that are changing over time.

Your program will read some input data from a text file (e.g., a spreadsheet in comma-separated-values, or CSV, format) and automatically generate several web pages with links going between the pages. The input data is updated each month, so the idea is that your program will be run on the updated input data each week or each month to automatically generate an updated web site that shows the latest trends and statistics.

Each web page should show a different aspect of road fatalities, and how that aspect has changed over time. Some of your pages must have photos and graphs. Here are some suggestions for different pages you might generate:

• Fatalities per year, and how this rate is changing over time;
• Fatalities per Australian state;
• Fatalities at different times of the day (each hour);
• The impact of different types of crash (single vehicle, multiple vehicle, pedestrian, etc.);
• The contribution of crashes involving buses and trucks, compared to other kinds of crashes;
• The impact of different speed limit zones on road fatalities;
• The impact of different road-user roles (driver; passenger; motor cyclist; cyclist, pedestrian, etc.) on road fatalities;
• The impact of gender on road fatalities - note that the data shows the gender of the deceased person, not necessarily of the driver;
• The impact of age (of the deceased) on road fatalities.

Four more important goals:

A. For most of these pages, it would be even more interesting and useful if you could display the change in these statistics over time, such as comparing 1989 against 2017, or the first 10 years against the most recent 10 years.

B. Also, for many of these pages, it would be more meaningful if you could display the statistics relative to the total number of vehicles or vehicle-kilometres in that category. For example, display the fatalities for buses and trucks relative to how many buses and trucks are on the roads, rather than just the absolute numbers of fatalities - this makes it possible to compare fatality rates between those different types of vehicles. To generate some of these relative percentages, you will need to obtain additional data from other sources - for example, the ABS has lots of data about vehicle usage in Australia Make sure you clearly document all your data sources!

C. There must be one top-level page, index.html, that is the entry point for the web site. This must give an overview of the whole website, and should have links to all the other pages.

D. All the HTML files and graphs in your whole web site must be generated by your Python program, so that your whole web site can be automatically updated when the input data values are updated, just by rerunning your Python program.

Learning Objectives
In this assignment you will learn how to:
1. use top-down design to divide a larger data processing task into parts;
2. use Python to read and write text files (CSV data files);
3. use functions to raise the abstraction level of your program;
4. analyse data to produce graphs and summary statistics;
5. use string and list methods to generate HTML.

Attachment:- Creative Problem Solving with Programming.rar

Reference no: EM132316032

Questions Cloud

Were management decisions to stay competitive sound : Green Pastures is a 400-acre farm on the outskirts of the Kentucky Bluegrass, specializing in the boarding of broodmares and their foals. A recent economic.
Illustrative of unobtrusive observations : Which of the following is (are) illustrative of unobtrusive observations? In which of the following analyses is content analysis LEAST likely to be useful?
Describe the break-even point and its importance : Describe the use of internal rate of return (IRR), net present value (NPV), and the payback method in evaluating project cash flows.
Determine the main financial statement effects of exposure : Albert, CEO of XYZ, Inc., desires to expand the company's sales through exports to three (3) foreign subsidiaries. Albert knows that the target subsidiaries.
Generates a website about australian road fatalities : ICT112 - Creative Problem Solving with Programming - University of the Sunshine Coast, Queensland - write a Python program that generates an informative
Build the program based on the skeleton code provided : YOUR TASKS - You are required to build the above program based on the skeleton code provided. You may define additional function if necessary
Examine the importance of the audit committee : Internal Control 1. Examine the importance of the audit committee oversight related to the quality of the internal controls of an organization.
How often would the cycle turn over in a year : Pretty Lady Cosmetic Products has an average production process time of 40 days. Finished goods are kept on hand for an average of 15 days before they are sold.
How does the fed manage the money supply : What is the FED's job and how does the FED manage the money supply? How do banks create money? Let's explore these questions as we talk about the role.

Reviews

len2316032

6/4/2019 3:12:06 AM

• Python Functions [6 marks]. Most your Python code should be inside functions; function parameters should be used to make your program concise and flexible; each function should include appropriate function docs; correct and meaningful naming conventions should be followed for function names and variable names. • Program Design and Algorithms [6 marks]. To achieve maximum marks, your program should be elegantly designed: be concise; use constants for important values/strings that are likely to change; use appropriate data structures (e.g. strings, lists, tuples, dictionaries, or objects) to store the data; make good use of Python libraries and methods (e.g. for strings and lists); and be reasonably efficient during execution (e.g. reading the input files just once, rather than many times). A key criterion is that your program should not contain blocks of code that are duplicated or similar (such blocks of code should be simplified into a single block of code by good use of loops or functions).

len2316032

6/4/2019 3:11:59 AM

• Data Analysis and Visualisation [6 marks]. Your program should analyse the data and generate (and include in the web pages): o one or more informative graphs that visualise various aspects of the data; o summary statistics for various group of data (e.g. an average, or maximum, or minimum, or sum); o some percentages that are relative to the available population (e.g. display the fatalities for each Australian State relative to the population of that state, rather than just the absolute numbers of fatalities - this makes it possible to compare accident rates between states). NOTE: To generate some of these relative percentages, you will need to obtain additional data from other sources, such as the population of each state, the number of drivers of each gender or each age group, etc. Make sure you clearly document your data sources;

len2316032

6/4/2019 3:11:52 AM

• Web Design and Functionality [6 marks]. To achieve maximum marks, the generated web site should contain several (5-10) web pages, with an entry page (index.html) that links to all the other pages, and the other pages linking back to the entry page; good use of images; the layout and organisation of the pages should be elegant and readable, with appropriate choices of colours; good use of HTML tables for layout; the generated pages should conform to HTML standards; a simple CSS file should be used to specify the look of the web pages (this CSS file does not have to be generated by your program).

len2316032

6/4/2019 3:11:47 AM

This assignment is due at the end of Week 12 (Friday 7 11:59pm). You must submit your files in a single .zip file, via Blackboard. Your .zip file should include your Jupyter Notebook (containing your Python program), your input data files, all your generated output web pages; and any image files, graphs and CSS files that are used in your web pages. It will be marked out of 30. The marking criteria is as follows: • Jupyter Notebook Structure [6 marks]. This should use markup cells and headings to divide your program into parts: o Title, plus your name and student number; o Introduction, which explains the structure of your web site, and the features / statistics / graphics that you have implemented; o Web-site overview, to explain the structure of your web site; o Python code, preferably broken into subsections for each part of your program;

Write a Review

Case Study Questions & Answers

  Ethical issues that general electric healthcare faced

Determine two (2) specific ethical issues that General Electric (GE) Healthcare faced when implementing its strategy to introduce low cost diagnostic equipment to developing countries. Recommend two (2) actions that GE can take to resolve these et..

  Critical analysis paper on the blockbuster mentality

critical analysis paper on The blockbuster Mentality. The paper should follow the media literacy and the critical process, which includes description, analysis, interpretation, evaluation, and engagement.

  Examine ethical concerns surrounding supranational courts

Examine at least two ethical concerns surrounding supranational courts that may have an influence on the United States' reluctance to ratify the Rome Statute

  Explain what makes the destination attractive to tourists

MKT01906 - International Tourism Systems - Southern Cross University - Identify key issues for the destination from international tourism and contrast them

  Compute break-even point for the given sales mix

Prepare contribution margins as in part (1) with all revisions included. For the original estimates, compute each of the following: Break-even point for the given sales mix

  Can a retailer ever become too large and too powerful

Is Walmart's rapid rise to retail dominance a positive or a negative development for our society? What does it tell us about capitalism, globalization, and the plight of workers? Can a retailer ever become too large and too powerful

  Ways that skullcandys size and growth rate influence

What are some of the ways that Skullcandy's size and growth rate influence its development process

  Constraints on sunsweet growerss supply chain

What are the constraints on Sunsweet Growers's supply chain

  What are some of the things ikea is doing right

What are some of the things IKEA is doing right to reach consumers in different markets? What else could it be doing

  Discuss the causes of temporary demand

Case Study - Managing Supply Chain Complexity in a Tea Manufacturing Company. Discuss the causes of temporary demand (and order) increases in this supply chain

  Motor carrier financial performance and safety performance

Who is the publisher - What is the publisher''s reputation? Has this source been published by a scholarly or peer-reviewed press? Is this source available in trusted archives, such as subscription databases?

  Assess the probable difficulties and risks

Case Study: ING Life, Assess the probable difficulties and risks associated with using a public infrastructure such as the Internet as part of a business solution

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd