Conversation
jeanetteclark
left a comment
There was a problem hiding this comment.
Very simple code (thankfully it is a clean dataset!) but I ran it and the result looks good.
I added some best-practices type recommendations but otherwise this looks good (and the resulting file also looks good)
| @@ -0,0 +1,3 @@ | |||
| slx <- read_excel("/home/clarinnancy/tickets/Hamilton2016/Alaska_place_time_16b (1).xls") | |||
There was a problem hiding this comment.
you should always include your library calls (package dependencies) at the top of every R script that you write. This way your code is more reproducible (you can run this script on its own) and other people can run it easily
There was a problem hiding this comment.
additionally - I would fix the (1) on your filenames. It is not good practice to name files with spaces and parentheses (even if you downloads folder does it for you all the time). I always am in the practice of renaming files once I upload them onto the server.
| @@ -0,0 +1,3 @@ | |||
| slx <- read_excel("/home/clarinnancy/tickets/Hamilton2016/Alaska_place_time_16b (1).xls") | |||
There was a problem hiding this comment.
| slx <- read_excel("/home/clarinnancy/tickets/Hamilton2016/Alaska_place_time_16b (1).xls") | |
| library(readxl) | |
| slx <- read_excel("/home/clarinnancy/tickets/Hamilton2016/Alaska_place_time_16b (1).xls") |
Hi Jeanette, here is the code I used to convert the excel file to csv in the Hamilton ticket.