{ "cells": [ { "cell_type": "markdown", "id": "f70e9fd9", "metadata": { "papermill": { "duration": 0.010369, "end_time": "2024-07-01T13:29:57.129918", "exception": false, "start_time": "2024-07-01T13:29:57.119549", "status": "completed" }, "tags": [] }, "source": [ "# Metadata table" ] }, { "cell_type": "code", "execution_count": 1, "id": "1c611429", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:57.143948Z", "iopub.status.busy": "2024-07-01T13:29:57.141899Z", "iopub.status.idle": "2024-07-01T13:29:57.158331Z", "shell.execute_reply": "2024-07-01T13:29:57.157261Z" }, "papermill": { "duration": 0.025588, "end_time": "2024-07-01T13:29:57.160515", "exception": false, "start_time": "2024-07-01T13:29:57.134927", "status": "completed" }, "tags": [ "remove-input" ] }, "outputs": [], "source": [ "# NO CODE\n", "from json2html import json2html\n", "import json, re\n", "from IPython.display import HTML" ] }, { "cell_type": "code", "execution_count": 2, "id": "f40eff46", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:57.179408Z", "iopub.status.busy": "2024-07-01T13:29:57.178846Z", "iopub.status.idle": "2024-07-01T13:29:57.186918Z", "shell.execute_reply": "2024-07-01T13:29:57.185105Z" }, "papermill": { "duration": 0.019757, "end_time": "2024-07-01T13:29:57.188758", "exception": false, "start_time": "2024-07-01T13:29:57.169001", "status": "completed" }, "tags": [ "parameters", "remove-input" ] }, "outputs": [], "source": [ "# NO CODE\n", "# PARAMETERS\n", "path = './meta/environment/meteocat_xema'" ] }, { "cell_type": "code", "execution_count": 3, "id": "0fc16513", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:57.202738Z", "iopub.status.busy": "2024-07-01T13:29:57.201824Z", "iopub.status.idle": "2024-07-01T13:29:57.206589Z", "shell.execute_reply": "2024-07-01T13:29:57.205905Z" }, "papermill": { "duration": 0.013763, "end_time": "2024-07-01T13:29:57.208642", "exception": false, "start_time": "2024-07-01T13:29:57.194879", "status": "completed" }, "tags": [ "injected-parameters" ] }, "outputs": [], "source": [ "# Parameters\n", "path = \"./meta/public_health/dengue\"\n" ] }, { "cell_type": "code", "execution_count": 4, "id": "01d256f7", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:57.221649Z", "iopub.status.busy": "2024-07-01T13:29:57.221247Z", "iopub.status.idle": "2024-07-01T13:29:57.239765Z", "shell.execute_reply": "2024-07-01T13:29:57.238846Z" }, "papermill": { "duration": 0.027313, "end_time": "2024-07-01T13:29:57.242059", "exception": false, "start_time": "2024-07-01T13:29:57.214746", "status": "completed" }, "tags": [ "remove-input", "full-width" ] }, "outputs": [ { "data": { "text/html": [ "
$schema../schema.json
@context
@vocabhttps://schema.org/
qudthttp://qudt.org/schema/qudt/
xsdhttp://www.w3.org/2001/XMLSchema#
@typeDataset
nameisciii_dengue
conditionsOfAccessPrivate
descriptionTable with information about yearly cases of dengue cases in Spain monitored by RENAVE (Red Nacional de Vigilancia Epidemiológica).
urlhttps://bit.ly/3arzfzv
licenseAll rights reserved
citation
temporalCoverage
spatialCoverage
@typePlace
nameSpain
sameAshttps://www.wikidata.org/wiki/Q29
distribution
  • @typeDataDownload
    namecluster_ceab
    descriptionDistribution by SFTP protocol from CEAB cluster.
    encodingFormatCSV
    workExample
    contentUrl
    • sftp://{USER}@cluster-ceab.ceab.csic.es/leov1/BigBytes/{FILENAME}
    contentSize
variableMeasured
  • @typePropertyValue
    name
    description
    qudt:dataType
creator
  • @typeOrganization
    @idISCIII
    nameInstituto de Salud Carlos III (ISCIII)
    identifierCIF:ESQ2827015E
    contactPoint
    @typeContactPoint
    email
    urlhttps://www.isciii.es/Paginas/Inicio.aspx
  • @typePerson
    @idFB
    nameBartumeus Ferré, Frederic
    identifierhttps://orcid.org/0000-0001-6908-3797
    contactPoint
    @typeContactPoint
    roleNameprincipal investigator
    emailfbartu@ceab.csic.es
    urlhttps://www.ceab.csic.es/en/member/frederic-bartumeus-ferre/
  • @typePerson
    @idZJ
    nameJužnič Zonta, Živko
    identifierhttps://orcid.org/0000-0002-2362-9771
    contactPoint
    @typeContactPoint
    roleNamedata engineer
    emailjzivko@gmail.com
    urlhttps://es.linkedin.com/in/zivko
measurementTechnique
" ], "text/plain": [ "" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# NO CODE\n", "# FULL WIDTH\n", "with open(f'{path}.json') as f:\n", " data = json.load(f)\n", "\n", "table = json2html.convert(json=data, clubbing=False)\n", "table_sub = re.sub('', '', table)\n", "\n", "HTML(table_sub)\n", "\n", "# Run the following in the command line to build a html table\n", "# $ jupyter nbconvert --to html --no-input --no-prompt build_tables.ipynb\n" ] }, { "cell_type": "code", "execution_count": null, "id": "41d0ffe0", "metadata": { "papermill": { "duration": 0.006335, "end_time": "2024-07-01T13:29:57.257916", "exception": false, "start_time": "2024-07-01T13:29:57.251581", "status": "completed" }, "tags": [] }, "outputs": [], "source": [] } ], "metadata": { "interpreter": { "hash": "524d3359b179f3b444361f48db8ae048bd8c237924fac1cd48a4c6f8144f6452" }, "kernelspec": { "display_name": "Python 3.7.10 64-bit ('scidb': conda)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.4" }, "metadata": { "interpreter": { "hash": "e3961729dbf4ff77740ff872c9a3eef08621b5b434e3d8d81026af4505918c74" } }, "papermill": { "default_parameters": {}, "duration": 1.798427, "end_time": "2024-07-01T13:29:57.586987", "environment_variables": {}, "exception": null, "input_path": "build_info.ipynb", "output_path": "./meta_ipynb/dengue.ipynb", "parameters": { "path": "./meta/public_health/dengue" }, "start_time": "2024-07-01T13:29:55.788560", "version": "2.3.4" } }, "nbformat": 4, "nbformat_minor": 5 }