Generated Web Site for Aussie Road Fatalities

Assignment Help Python Programming
Reference no: EM132019083

Assignment - 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:- Assignment Files.rar

Reference no: EM132019083

Questions Cloud

Determine what are the reasons to hold inventory : Supply Chain management describes the coordination of activities across different companies to improve the value provided to the consumer.
What is required rate of return : What stock price is expected 1 year from now? What is the required rate of return?
What impact does the changing environment have : What impact does the changing environment have on innovation and entrepreneurship within an organization?
Describe the central problem facing gt : Identify and describe the central problem facing GT? EXPLAIN your answer in detail. What arguments can you posit FOR and AGAINST GT's marketing attempts.
Generated Web Site for Aussie Road Fatalities : ICT112 Assignment. University of the Sunshine Coast. Write a Python program that generates an informative web site about Australian Road Fatalities
Managers budget for payroll allocations : What should Jupiter's Pizzeria & Billiards’ managers budget for payroll allocations?
Proceeds to pay off some of its outstanding bonds : plans to have the company issue $500 million of new common stock and use the proceeds to pay off some of its outstanding bonds.
Discuss competitive advantages for your business : You have completed all of the necessary sections of your business plan and will now create a final draft. Use any / all feedback you have received to polish.
Identify and discuss the two business dilemmas presented : Create the introductory paragraph. The introductory paragraph is the first paragraph of the paper and tells a reader the main points covered in the paper.

Reviews

len2019083

6/15/2018 1:30:24 AM

Marking Criteria - This assignment is due at the end of Week 13 (Friday 1 11:55pm). 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]. Web Design and Functionality [6 marks]. Data Analysis and Visualisation [6 marks]. Python Functions [6 marks]. Program Design and Algorithms [6 marks].

len2019083

6/15/2018 1:30:16 AM

Note: the generated web pages should NOT contain any Javascript, as the goal of this assignment is to generate simple static web pages using Python. To create a .zip file on a Windows PC, right-click on the folder containing all your Task 2 files, then select 'Send to / Compressed (zipped) folder'. On a Mac, right-click on your folder and select the 'Compress foldername' option.

Write a Review

Python Programming Questions & Answers

  Write a program that uses a bar

Write a program that uses a bar chart to display the percent-ages of the overall grade represented by the project, quizzes the midterm exam and the final exam

  Write python code that will execute a list

Write python code that will execute a list of functions with supplied parameters and report the observed runtime for each function run. Assume that the input file has a list of strings like so:

  Development on windows and linux systems

develop a simple, data-intensive application in Python - Data Analysis of a Document Tracker

  Create an infinite game loop

ISCG 5420 Programming - design into a Python program. Your final program must compile correctly using Python IDLE as configured in Unitec computing labs

  Look up terms in a tech dictionary

Create a program that allows a user to look up terms in a tech dictionary - programming or scripting that is of interest to you, and complete one or more web-based tutorials on the topic.

  Identify whether an individual character is a numeric digit

You may identify whether an individual character is a numeric digit via expr[pos].isdigit() There are similar funtions isalpha for letters and isalnum for alphanumerics (letters or digits).

  Project will be a simple, working program

This programming project will be a simple, working program, using Python language, which utilizes a good design process and includes:Sequential, selection, and repetitive programming statements as well as,At least one function call.

  Write a function trans(m) which returns the transpose

Write a function trans(M) which returns the transpose of an n-by-n matrix M. The matrix M is represented by a list of n lists, each of length n. Transposing M means that each M[i][j] is swapped (once!) with M[j][i].

  Write python code that takes word and converts to pig latin

Write Python code that takes a word and converts it to Pig Latin. If the input consists of multiple words or contains punctuation, your code should print a suitable error message

  Find in the dataset how often u2 is mentioned as artist

Write and run Hadoop code (mappers and reducers) to find in the Last.fm dataset (a) how often U2 is mentioned as artist and (b) songs that have been played more than 600 million times.

  Write a function comp(d1,u1,d2,u2)

Write a function comp(d1,u1,d2,u2)

  Write a program that reads the name of a data file

Write a program that reads the name of a data file which contains student ids (such as c1234500) and their scores. The program will find and print the average score, the number of students processed.

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