{
"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 | @vocab | https://schema.org/ |
---|
qudt | http://qudt.org/schema/qudt/ |
---|
xsd | http://www.w3.org/2001/XMLSchema# |
---|
|
---|
@type | Dataset |
---|
name | isciii_dengue |
---|
conditionsOfAccess | Private |
---|
description | Table with information about yearly cases of dengue cases in Spain monitored by RENAVE (Red Nacional de Vigilancia Epidemiológica). |
---|
url | https://bit.ly/3arzfzv |
---|
license | All rights reserved |
---|
citation | |
---|
temporalCoverage | |
---|
spatialCoverage | @type | Place |
---|
name | Spain |
---|
sameAs | https://www.wikidata.org/wiki/Q29 |
---|
|
---|
distribution | @type | DataDownload |
---|
name | cluster_ceab |
---|
description | Distribution by SFTP protocol from CEAB cluster. |
---|
encodingFormat | CSV |
---|
workExample | |
---|
contentUrl | - sftp://{USER}@cluster-ceab.ceab.csic.es/leov1/BigBytes/{FILENAME}
|
---|
contentSize | |
---|
|
---|
variableMeasured | @type | PropertyValue |
---|
name | |
---|
description | |
---|
qudt:dataType | |
---|
|
---|
creator | @type | Organization |
---|
@id | ISCIII |
---|
name | Instituto de Salud Carlos III (ISCIII) |
---|
identifier | CIF:ESQ2827015E |
---|
contactPoint | @type | ContactPoint |
---|
email | |
---|
url | https://www.isciii.es/Paginas/Inicio.aspx |
---|
|
---|
@type | Person |
---|
@id | FB |
---|
name | Bartumeus Ferré, Frederic |
---|
identifier | https://orcid.org/0000-0001-6908-3797 |
---|
contactPoint | @type | ContactPoint |
---|
roleName | principal investigator |
---|
email | fbartu@ceab.csic.es |
---|
url | https://www.ceab.csic.es/en/member/frederic-bartumeus-ferre/ |
---|
|
---|
@type | Person |
---|
@id | ZJ |
---|
name | Južnič Zonta, Živko |
---|
identifier | https://orcid.org/0000-0002-2362-9771 |
---|
contactPoint | @type | ContactPoint |
---|
roleName | data engineer |
---|
email | jzivko@gmail.com |
---|
url | https://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
} |