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

  From the scenario, prioritize the attributes of golds reling

From the scenario, prioritize the attributes of Golds Reling's brand from the brand map presented in the scenario according to the attributes that you believe would be most important to the new tablet's target market. Provide support for your respons..

  Discuss critically infosys current and future strategy

Discuss critically Infosys current and future strategy. What advice would you give Kris Gopalakrishnan and KShop has resulted in information overload among staff. What operational measures would you suggest to overcome such challenges?

  Review tarmac business case for diversity

Review Tarmac's Business Case for Diversity and the Learning Resources. Think about Tarmac's approach to managing diversity and how it relates to organisational behaviour concepts and human resource processes.

  Enron case shared activity

Enron was the first nationwide natural gas pipeline network in the United States. As the company grew, executives shifted the company's primary focus from energy delivery and infrastructure to investing in the stock market.

  Ebay inc internet success or fairy tale

Read the case study "eBay Inc.: Internet Success or Fairy Tale? "and answer the question below,   Use the 2002 financial statement data to replicate the Meyer's report calculations that illustrate the conclusion based on the 2001 data reached in the ..

  Mintendo game girl case study

Which option delivers the maximum profit for the supply chain: Sandra's plan, Bill's plan, or no promotion plan at all? How does the answer change if a discount of $10 must be given to reach the same level of impact that the $5 discount received?

  Splash soft drinks case study

Splash Soft Drinks Inc. (SSD) has recently achieved sales that exceeded its expectations after it introduced a new beverage that was greatly welcomed by their customers. The company is currently considering opening a new plant to which some of the pr..

  Details of the task using tesco plc

Details of the task Using Tesco plc (www.tesco.com) as a case study, prepare a report of no more than 2,500 words that:

  What are the common manifestations of alcoholic cirrhosis

What are the common manifestations of alcoholic cirrhosis? Which of these are secondary to hepatocellular failure? Which are secondary to portal hypertension?

  Judge the extent to which the marketing plan at just us

From the case study, judge the extent to which the marketing plan at Just Us! is outdated. Propose two (2) ways that Just Us! could improve the customer experience and thus sustain future growth.

  Read natasha kingery case and answer the questions

Read the DATA CASE on pages 126-127 about Natasha Kingery who is considering furthering her education and is seeking financial advice. Determine the interest rate she is currently earning on her inheritance by going to Yahoo!

  Identify the relevant facts of the case study

Imagine you are the financial controller of XYZ Ltd a corporation that is a very large donor to HOHO. You have recently become aware that its TV advertising has resulted in the charity violating the 25% expenditure ratio for its charity drive.    Id..

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