-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update index.Rmd #2
base: master
Are you sure you want to change the base?
Conversation
@@ -27,6 +27,7 @@ I loaded required packages | |||
|
|||
```{r, message=F, warning=F} | |||
library(raster) | |||
library(threejs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call all packages at beginning of your code so that others may see what packages they need without searching through the rest of your code.
@@ -38,6 +39,7 @@ library(caret) | |||
library(forcats) | |||
library(sp) | |||
library(raster) | |||
library(csvread) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call all packages at beginning of your code so that others may see what packages they need without searching through the rest of your code.
#This first part of the plot is an example on how it works with Landsat data for Earth | ||
Band1 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B02.tif") | ||
Band1 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B02.tif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
Band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B06.tif") | ||
Band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B07.tif") | ||
Band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B08.tif") | ||
Band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B03.tif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
Band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B07.tif") | ||
Band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B08.tif") | ||
Band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B03.tif") | ||
Band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B04.tif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
Band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B08.tif") | ||
Band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B03.tif") | ||
Band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B04.tif") | ||
Band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B05.tif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
Band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B03.tif") | ||
Band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B04.tif") | ||
Band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B05.tif") | ||
Band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B06.tif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
Band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B04.tif") | ||
Band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B05.tif") | ||
Band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B06.tif") | ||
Band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B07.tif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
Band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B05.tif") | ||
Band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B06.tif") | ||
Band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B07.tif") | ||
Band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/B08.tif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b07.tiff") | ||
band8 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b08.tiff") | ||
band9 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b09.tiff") | ||
band1 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b01.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band8 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b08.tiff") | ||
band9 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b09.tiff") | ||
band1 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b01.tiff") | ||
band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b02.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band9 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b09.tiff") | ||
band1 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b01.tiff") | ||
band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b02.tiff") | ||
band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b03.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band1 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b01.tiff") | ||
band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b02.tiff") | ||
band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b03.tiff") | ||
band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b04.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band2 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b02.tiff") | ||
band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b03.tiff") | ||
band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b04.tiff") | ||
band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b05.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band3 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b03.tiff") | ||
band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b04.tiff") | ||
band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b05.tiff") | ||
band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b06.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band4 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b04.tiff") | ||
band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b05.tiff") | ||
band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b06.tiff") | ||
band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b07.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band5 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b05.tiff") | ||
band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b06.tiff") | ||
band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b07.tiff") | ||
band8 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b08.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
band6 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b06.tiff") | ||
band7 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b07.tiff") | ||
band8 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b08.tiff") | ||
band9 <- raster("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/selection_of_landingMining_sites/b09.tiff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
library(threejs) | ||
library(csvread) | ||
the_martian <- read.csv("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/visualize_of_landingMining_sites/the_martian.csv", comment.char="#") | ||
the_martian <- read.csv("C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/visualize_of_landingMining_sites/the_martian.csv", comment.char="#") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
|
||
#the_martian.csv <- ("C:/Users/Owner/Desktop/sare backup/c/user #hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/visualize_of_landi#ngMining_sites/the_martian.cvs") | ||
|
||
|
||
globejs(img = "C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/visualize_of_landingMining_sites/Mars_Viking_MDIM21_ClrMosaic_global_1024.jpg", bodycolor="#555555", emissive="#444444", | ||
globejs(img = "C:/Users/Owner/Desktop/sare backup/c/user hadar/Desktop/GEO511/Tasks/geo511-tasks-hsare/geo511-2020-final-project/geo511-2020-project-hsare/visualize_of_landingMining_sites/Mars_Viking_MDIM21_ClrMosaic_global_1024.jpg", bodycolor="#555555", emissive="#444444", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my main comment. This raster is located on your personal machine, preventing myself or anyone else from running the code. It renders the rest of your code and analysis unable to run as well.
@@ -261,23 +262,18 @@ as(MNDWI, "SpatialPixelsDataFrame") %>% | |||
|
|||
I loaded required packages | |||
|
|||
```{r, message=F, warning=F} | |||
library(threejs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best practice: List all libraries at the beginning of code. See comment in your original libraries calls.
|
||
##Results2 | ||
I firstly prepared and loaded the data and then with the package called "streejs" I plot the exact locations of landing and mining sites on the Martian global map. I created a cvs file where I stored the latitudes and logitude of the future landing and mining sites selested and call that file in R. | ||
|
||
|
||
```{r} | ||
library(threejs) | ||
library(csvread) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best practice: List all libraries at the beginning of code. See comment in your original libraries calls.
I am unable to run your code because all of the files you use are located on your personal machine. You should find a way to code so they are downloaded within the script, and thus can be referenced by anyone using the same code. I also made other small changes that are best practice suggestions.