kristenpeck / NE-Small-Lakes

Analysis of NE small lakes data in BC
Apache License 2.0
0 stars 1 forks source link

RMD KNITR EDIT #1

Open fishandwildlifejames opened 2 years ago

fishandwildlifejames commented 2 years ago

Greetings from the git world! First issue, very exciting.

How would I edit the Rscript chunk from lines 10-14? It relates back to pulling a different file name than what I have saved on my laptop (ended up renaming the file).

Any ideas? @kristenpeck

kristenpeck commented 2 years ago

Might be a quick fix - basically the rmd file is pulling objects from the SmallLakesDB.R script through source(SmallLakesDB.R). All that does is run the whole R script and store all of the objects in the environment, which are then called in the rmd script. If you want to change the excel file, you'll need to go to the SmallLakesDB.R script and edit the read_excel() in the R script for effort, catch and env objects. Try it, let me know if it works!

kristenpeck commented 2 years ago

@fishandwildlifejames did that fix work?