Ir al contenido

This function takes a tibble x and a vector of field names mdfields as input and prepares an HTML popup content based on the specified fields.

Uso

preparePopup(
  x,
  mdfields = c("especie focal", "localidad", "site", "reference", "poblacion",
    "tratamiento", "elevacion", "fecha")
)

Argumentos

x

A tibble containing data with columns 'campo' and 'valor'.

mdfields

A vector of field names specifying which fields to include in the popup content.

Valor

A character string containing HTML-formatted popup content.