Skip to content

Commit 10ef1ef

Browse files
Fixing an incomplete manual merge
1 parent 5c432d0 commit 10ef1ef

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

vignettes/04-synthesis-data.Rmd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ We will use these tuples to extract the data for our plot.
138138
```{r get_plot_boundary}
139139
# Setting up our options
140140
options(betydb_url = "https://terraref.ncsa.illinois.edu/bety/",
141-
betydb_api_version = 'v1',
142-
betydb_key = readLines('.betykey'))
141+
betydb_api_version = 'v1')
143142
144143
# Making the query for our site
145144
sites <- betydb_query(table = "sites",
@@ -185,6 +184,10 @@ image_files <-
185184
)
186185
```
187186

187+
```{r, echo = F}
188+
image_files <- file.path("vignettes/", image_files)
189+
```
190+
188191
We will loop through these images, extract our plot data, and calculate the "greeness" of each extract.
189192
We are using the name of the file to extract the date for later.
190193

@@ -240,6 +243,7 @@ trait_canopy_cover <- betydb_query(table = "search",
240243
trait = "canopy_cover",
241244
date = "~2018 May",
242245
limit = "none")
246+
243247
trait_canopy_cover <- trait_canopy_cover %>%
244248
mutate(day = as.Date(raw_date))
245249
```

0 commit comments

Comments
 (0)