produce_site_qrcode: Obtain the QRCode of any DEIMS-SDR entities.

View source: R/produce_site_qrcode.R

produce_site_qrcodeR Documentation

Obtain the QRCode of any DEIMS-SDR entities.

Description

[Stable] Return a QR code image of any provided DEIMS ID (e.g. dataset, site, activity).

Usage

produce_site_qrcode(deimsid, do_plot = FALSE)

Arguments

deimsid

A character. The DEIMS ID of entities from DEIMS-SDR website. DEIMS ID information here.

do_plot

A boolean. Plot the computed QRCode. Default FALSE.

Value

The QR code as a logical matrix with "qr_code" class.

The function output

QRcode of Lake Maggiore site

Author(s)

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

References

\insertRef

qrcodeRReLTER

Examples

qrcode <- produce_site_qrcode(
  deimsid = "https://deims.org/f30007c4-8a6e-4f11-ab87-569db54638fe"
)
plot(qrcode)

a <- produce_site_qrcode(
  deimsid = "https://deims.org/f30007c4-8a6e-4f11-ab87-569db54638fe",
  do_plot = TRUE
)


oggioniale/ReLTER documentation built on Jan. 4, 2024, 3:48 p.m.