1
0
Fork 0
mirror of https://github.com/sensebox/opensensmapr synced 2025-03-11 03:30:27 +01:00

use cached data to speed up building of vignettes

This commit is contained in:
jan 2023-02-28 16:18:36 +01:00
parent 86e80d52c9
commit eec6f84806
4 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ So the first step is to retrieve *all the boxes*:
```{r download}
# if you want to see results for a specific subset of boxes,
# just specify a filter such as grouptag='ifgi' here
boxes = osem_boxes()
boxes = osem_boxes(cache = '.')
```
# Plot count of boxes by time {.tabset}

View file

@ -45,7 +45,7 @@ So the first step is to retrieve *all the boxes*.
```{r download, results='hide', message=FALSE, warning=FALSE}
# if you want to see results for a specific subset of boxes,
# just specify a filter such as grouptag='ifgi' here
boxes_all = osem_boxes()
boxes_all = osem_boxes(cache = '.')
boxes = boxes_all
```
# Introduction

View file

@ -32,7 +32,7 @@ datasets' structure.
library(magrittr)
library(opensensmapr)
all_sensors = osem_boxes()
all_sensors = osem_boxes(cache = '.')
```
```{r}
summary(all_sensors)
@ -101,7 +101,7 @@ We could call `osem_measurements(pm25_sensors)` now, however we are focusing on
a restricted area of interest, the city of Berlin.
Luckily we can get the measurements filtered by a bounding box:
```{r}
```{r. eval = FALSE}
library(sf)
library(units)
library(lubridate)