Skip to contents

[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

References

Teh V, Onkelinx T (2021). qrcode: Generate QRcodes with R. Version 0.1.4. doi:10.5281/zenodo.5040088 , https://thierryo.github.io/qrcode/.

Author

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

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
)