|
|
@ -14,7 +14,7 @@ The opensensmapr package provides functions for
|
|
|
|
\item general statistics about the openSenseMap database.
|
|
|
|
\item general statistics about the openSenseMap database.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Additionally, helper functions are provided to ease the integration with the
|
|
|
|
Additionally, helper functions are provided to ease the integration with the
|
|
|
|
\code{\link{sf}} package for spatial analysis as well as \code{\link{deplyr}}
|
|
|
|
\code{\link{sf}} package for spatial analysis as well as \code{\link{dplyr}}
|
|
|
|
for general data handling.
|
|
|
|
for general data handling.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\section{Retrieving senseBox metadata}{
|
|
|
|
\section{Retrieving senseBox metadata}{
|
|
|
@ -26,10 +26,9 @@ as well as metadata about its owner & placement.
|
|
|
|
senseBoxes can be retrieved either by ID, or as a collection with optional
|
|
|
|
senseBoxes can be retrieved either by ID, or as a collection with optional
|
|
|
|
filters on their metadata
|
|
|
|
filters on their metadata
|
|
|
|
\itemize{
|
|
|
|
\itemize{
|
|
|
|
\item \code{\link{osem_box}}: Get metadata about a single box
|
|
|
|
\item \code{\link{osem_box}}: Get metadata about a single box by its ID.
|
|
|
|
by its ID.
|
|
|
|
\item \code{\link{osem_boxes}}: Get metadata about all boxes, optionally
|
|
|
|
\item \code{\link{osem_boxes}}: Get metadata about a all
|
|
|
|
filtered by their attributes.
|
|
|
|
boxes. Optionally filtered by their attributes.
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
The data is returned as a \code{\link{data.frame}} with the class
|
|
|
|
The data is returned as a \code{\link{data.frame}} with the class
|
|
|
@ -60,8 +59,7 @@ given phenomenon only. A subset of measurements may be selected by
|
|
|
|
\item a exposure type of the given box
|
|
|
|
\item a exposure type of the given box
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Data is returned as \code{data.frame} with the class \code{osem_measurements}.
|
|
|
|
Data is returned as \code{tibble} with the class \code{osem_measurements}.
|
|
|
|
The provided columns may
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\section{Retrieving statistics}{
|
|
|
|
\section{Retrieving statistics}{
|
|
|
@ -79,7 +77,7 @@ Helpers are implemented to ease the further usage of the retrieved data:
|
|
|
|
Transform the senseBoxes or measurements into an \code{\link{sf}}
|
|
|
|
Transform the senseBoxes or measurements into an \code{\link{sf}}
|
|
|
|
compatible format for spatial analysis.
|
|
|
|
compatible format for spatial analysis.
|
|
|
|
\item \code{filter.sensebox()} & \code{mutate.sensebox()}: for use with
|
|
|
|
\item \code{filter.sensebox()} & \code{mutate.sensebox()}: for use with
|
|
|
|
\code{\link{deplyr}}.
|
|
|
|
\code{\link{dplyr}}.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|