nickynicolson/geonomia-PE / plugins /external_links.py
nickynicolson's picture
download
raw
317 Bytes
from datasette import hookimpl
from markupsafe import Markup
@hookimpl
def render_cell(value, column, table, database, datasette):
# Check for your specific column name
if column == "gbifID" and value:
url = f"https://gbif.org/occurrence/{value}"
return Markup(f'<a href="{url}">{value}</a>')

Xet Storage Details

Size:
317 Bytes
·
Xet hash:
477de43658293ef1e3961ae9790615dc89752438117067192bc6979271f17453

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.