Badges to insert in database pages for displaying the ID and link to the respective entry at GIVD (Global Index of Vegetation-Plot Databases).
This function writes the respective svg badge and suggests the markdown code needed to insert the badge in your site. Note that the markdown code may need edition.
1 2 3 4 5 6 7 8 9 | draw_badge(
id,
path,
version = Sys.Date(),
link,
type = "version",
encoding = "UTF-8",
...
)
|
id |
A character value indicating the ID of the database in GIVD. |
path |
A character value indicatin the path where to write the svg file, including the file name. |
version |
A character value for the version, usually the date of the version. |
link |
A character value with a url to link the version badge (usually a page for the database). |
type |
The type of the badge, either "version" or "givd". |
encoding |
Character value indicating the encoding of the output file,
passed to |
... |
Further arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.