Wednesday, March 20, 2024

LIS 4317 Visual Analytics - Module 10 Assignment

For this week's assignment, we are asked to make improvements to any of the given data visualizations from the Yau textbook or the economics dataset visualizations.

Right off the bat, I must admit that many of these visuals already looked perfect but I attempted to make some improvements.

Starting off with visual 2 of the hotdog dataset from the Yau textbook, the first thing that came to mind was how it could use an annotation to point out the highest on record number of hotdogs eaten as well as the name of the record holder. To do that, I simply added onto the current graph and placed a point so that viewers have an easier time picking it out.

Moving onto the economics dataset, I was intrigued by the line chart of visual 4 that showed the unemployed population over time. Looking at the other variables in the dataset, I wanted to see if I could a do a direct comparison of the unemployed over time versus the median duration of unemployment or uempmed. To do that, I was to generate two line charts of these variables and then place one on top of the other in a single visual. 

All in all, it was interesting working with time series data and I hope to come across more datasets that specifically pertain to time series.

~ Katie

LIS 4370 R Programming - Module 11 Assignment

In this week's assignment, we are asked to locate a bug that was deliberately placed inside a function.

The objective:

Find the bug and fix the code and discuss your debugging procedure.

Buggy code:

Fixed code:

Debugging Procedure:

To begin the debugging process, the first step was to run the code to look for any glaring errors that pop up. Upon running the code, I got the following syntax error message:

This error appears to be from the second for loop in the function, more specifically, the placement of the return statement. Currently, it is after one of the curly braces when it should be placed outside the loop. With this information in hand, all you need to do is to move the return statement to outside the loop. For better readability, it is a good idea to drop a line for each ending curly brace.

Check out the code here: Module 11 Code

~ Katie

LIS 4370 R Programming - sentimentTextAnalyzer2 Final Project

For this class's major final project, I set out to make the process of analyzing textual files and URL links for sentiment insights much...