updated manual files

master
jan 1 year ago
parent 4e1b5d6389
commit c8925df68d

@ -17,11 +17,12 @@ Boolean whether the deletion was successful
Purge cached responses from the given cache directory
}
\examples{
\donttest{
\dontrun{
osem_boxes(cache = tempdir())
osem_clear_cache()
cachedir = paste(getwd(), 'osemcache', sep = '/')
dir.create(file.path(cachedir), showWarnings = FALSE)
osem_boxes(cache = cachedir)
osem_clear_cache(cachedir)
}

@ -115,6 +115,7 @@ a bounding box spanning the whole world.
# construct a bounding box 12km around berlin using the sf package,
# and get measurements from stations within that box
library(sf)
library(units)
bbox2 = st_point(c(13.4034, 52.5120)) \%>\%
st_sfc(crs = 4326) \%>\%
st_transform(3857) \%>\% # allow setting a buffer in meters

@ -36,7 +36,7 @@ A \code{tbl_df} containing observations of all selected sensors for each time st
\description{
This function is significantly faster than \code{\link{osem_measurements}} for large
time-frames, as daily CSV dumps for each sensor from
\href{http://archive.opensensemap.org}{archive.opensensemap.org} are used.
\href{https://archive.opensensemap.org}{archive.opensensemap.org} are used.
Note that the latest data available is from the previous day.
}
\details{

Loading…
Cancel
Save