Posts

Showing posts from April, 2021

Final Project: Midio

Image
Wow! This semester has flown by! Our final project is to create an R package.  My R package is called Midio.  It was created to compliment the mood tracking app called Daylio. Daylio Is a highly customizable app that allows the user to track not only mood but activities for each day. Personally, I have been using this app for about 60 days and plan to use it for as long as I can. Daylio allows users to export its data into a CSV file. This data is not user-friendly and difficult to put into any visualizations. My package takes this raw data and transforms it into something user-friendly and ready for analysis using ggplot2. Documentation was created using Roxygen.  I also included my own 60 days' worth of data to test out. :) clean <- function(data)  The first function that I created reformats the full date column into a date instead of a string. This function also makes all activities in lower case. Another issue is that the activities column has activities ...

Mod12

Image
 In this module, we were asked to create a R Markdown file.  Fortunately for me, I already have to use R Markdown for another class and had everything installed.  R Markdown is an awesome way to share your code and results with others especially if they don't have R installed or the dependents.  The important thing that makes an R Markdown file is the headers. In this header, I added the title, author, date, and then output.  The cool thing about R Markdown is that you can share your code, which is done like this: In this snip of code I am adding the ggplot library.  Then in this I am loading then inspecting data:  To create the HTML file, I select "knit".  Check out my github to see what happens next!  https://github.com/Midiquin/LIS4370.720S21/blob/main/Mod12.html