Skip to contents

[Experimental] This function obtains the information about of an eLTER sensor (e.g. https://deims.org/sensors/3845475c-4aec-4dd7-83b4-0ab6ba95db35) provided in DEIMS-SDR catalogue.

Usage

get_sensor_info(sensorid, show_map = FALSE)

Arguments

sensorid

A character. It is the DEIMS ID of sensor make from DEIMS-SDR website. DEIMS ID information here. The DEIMS.iD of sensor is the URL for the sensor page.

show_map

A boolean. If TRUE a Leaflet map with occurrences is shown. Default FALSE.

Value

The output of the function is a list with two elements:

  • map A Leaflet map with the sensor location, if requested with show_map.

  • data A data.frame with the information about the sensor.

The function output

Map of position of the "Climate Station B3" sensor

Author

Alessandro Oggioni, phD (2020) oggioni.a@irea.cnr.it

Examples

# print the map of the sensor
sensor_B3 <- get_sensor_info(
  sensorid =
    "https://deims.org/sensors/3845475c-4aec-4dd7-83b4-0ab6ba95db35",
  show_map = TRUE
)
sensor_B3
#> $map
#> 
#> $data
#> Simple feature collection with 1 feature and 13 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 10.59189 ymin: 46.69173 xmax: 10.59189 ymax: 46.69173
#> Geodetic CRS:  WGS 84
#> # A tibble: 1 × 14
#>   title abstract uri   type  created             changed             relatedSite
#> * <chr> <chr>    <chr> <chr> <dttm>              <dttm>              <list>     
#> 1 Clim… "Near-r… http… sens… 2020-01-22 16:34:29 2022-12-13 13:11:41 <df>       
#> # ℹ 7 more variables: contacts <list>, geography <POINT [°]>, elevation <int>,
#> #   sensorType.label <chr>, sensorType.uri <lgl>,
#> #   resultAcquisitionSource <chr>, observedProperty <list>
#> 

# only table of sensor information
Licor <- get_sensor_info(
  sensorid =
    "https://deims.org/sensors/4a7ad644-f2e7-4224-965b-ec5ef5365655",
  show_map = FALSE
)
Licor
#> $map
#> NULL
#> 
#> $data
#> Simple feature collection with 1 feature and 13 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 68.6769 ymin: 60.89164 xmax: 68.6769 ymax: 60.89164
#> Geodetic CRS:  WGS 84
#> # A tibble: 1 × 14
#>   title abstract uri   type  created             changed             relatedSite
#> * <chr> <chr>    <chr> <chr> <dttm>              <dttm>              <list>     
#> 1 Li-C… The sen… http… sens… 2017-03-16 05:07:17 2019-11-29 10:33:23 <df>       
#> # ℹ 7 more variables: contacts <list>, geography <POINT [°]>, elevation <lgl>,
#> #   sensorType.label <chr>, sensorType.uri <lgl>,
#> #   resultAcquisitionSource <lgl>, observedProperty <lgl>
#> 

# Moldaenke FluoroProbe sensor
sensor_FP <- get_sensor_info(
  sensorid = "https://deims.org/sensors/82635223-a4f4-498c-b283-9c95999d9d2f",
  show_map = FALSE
)
sensor_FP
#> $map
#> NULL
#> 
#> $data
#> Simple feature collection with 1 feature and 13 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 8.5741 ymin: 45.80363 xmax: 8.5741 ymax: 45.80363
#> Geodetic CRS:  WGS 84
#> # A tibble: 1 × 14
#>   title abstract uri   type  created             changed             relatedSite
#> * <chr> <chr>    <chr> <chr> <dttm>              <dttm>              <list>     
#> 1 Mold… http://… http… sens… 2022-05-19 18:57:17 2024-07-16 06:11:33 <df>       
#> # ℹ 7 more variables: contacts <list>, geography <POINT [°]>, elevation <int>,
#> #   sensorType.label <chr>, sensorType.uri <lgl>,
#> #   resultAcquisitionSource <lgl>, observedProperty <list>
#>