{ "cells": [ { "cell_type": "markdown", "id": "d5e1c34d", "metadata": { "papermill": { "duration": 0.011181, "end_time": "2024-07-01T13:29:23.918277", "exception": false, "start_time": "2024-07-01T13:29:23.907096", "status": "completed" }, "tags": [] }, "source": [ "# Metadata table" ] }, { "cell_type": "code", "execution_count": 1, "id": "5d3cce81", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:23.931252Z", "iopub.status.busy": "2024-07-01T13:29:23.930101Z", "iopub.status.idle": "2024-07-01T13:29:23.944939Z", "shell.execute_reply": "2024-07-01T13:29:23.944127Z" }, "papermill": { "duration": 0.025734, "end_time": "2024-07-01T13:29:23.949021", "exception": false, "start_time": "2024-07-01T13:29:23.923287", "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": "1eb98442", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:23.963927Z", "iopub.status.busy": "2024-07-01T13:29:23.963323Z", "iopub.status.idle": "2024-07-01T13:29:23.970944Z", "shell.execute_reply": "2024-07-01T13:29:23.969406Z" }, "papermill": { "duration": 0.018966, "end_time": "2024-07-01T13:29:23.974987", "exception": false, "start_time": "2024-07-01T13:29:23.956021", "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": "94da0cac", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:23.991515Z", "iopub.status.busy": "2024-07-01T13:29:23.990441Z", "iopub.status.idle": "2024-07-01T13:29:23.996701Z", "shell.execute_reply": "2024-07-01T13:29:23.995560Z" }, "papermill": { "duration": 0.01587, "end_time": "2024-07-01T13:29:23.998883", "exception": false, "start_time": "2024-07-01T13:29:23.983013", "status": "completed" }, "tags": [ "injected-parameters" ] }, "outputs": [], "source": [ "# Parameters\n", "path = \"./meta/mosquito_alert/user_locations\"\n" ] }, { "cell_type": "code", "execution_count": 4, "id": "48f46678", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:24.013120Z", "iopub.status.busy": "2024-07-01T13:29:24.012332Z", "iopub.status.idle": "2024-07-01T13:29:24.034039Z", "shell.execute_reply": "2024-07-01T13:29:24.032971Z" }, "papermill": { "duration": 0.030387, "end_time": "2024-07-01T13:29:24.035792", "exception": false, "start_time": "2024-07-01T13:29:24.005405", "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
nameuser_locations
conditionsOfAccessPrivate
descriptionBackground tracks of Mosquito Alert participants in 0.05 and 0.025 degree longitude/latitude sampling cells with minimal processing. The temporal coverage for 0.025 starts from 2018, while for 0.05 degree resolution starts from 2014. This dataset contains data only on Android participants until 2020, when background tracking was implemented in the iOS app as well.
licenseAll rights reserved
citation
  • Palmer, J. R. B., “Citizen science provides a reliable and scalable tool to track disease-carrying mosquitoes”, Nature Communications, vol. 8, 2017. doi:10.1038/s41467-017-00914-9
temporalCoverage2014/..
spatialCoverage
@typePlace
nameWorldwide
sameAshttps://www.wikidata.org/wiki/Q13780930
distribution
  • @typeDataDownload
    namecluster_ceab
    descriptionDistribution by SFTP protocol from CEAB cluster.
    encodingFormatRDS
    workExample
    contentUrl
    • sftp://j.palmer@cluster-ceab.ceab.csic.es/home/usuaris/j.palmer/research/mosquito_model_data_prep/data/proc/user_locations.Rds
    • sftp://j.palmer@cluster-ceab.ceab.csic.es/home/usuaris/j.palmer/research/mosquito_model_data_prep/data/proc/user_locations_small_cell.Rds
    contentSize8-15MB
variableMeasured
  • @typePropertyValue
    nameyear
    descriptionYear in which the background location was recorded.
    unitTextyears
    qudt:dataTypexsd:string
  • @typePropertyValue
    namebiweek
    descriptionAn integer representing the biweek in which the background location was recorded. Biweeks are counted as two-week intervals beginning on 1 January 2014.
    unitTextbiweek
    qudt:dataTypexsd:int
  • @typePropertyValue
    nameTigacellID
    descriptionUnique identifier of the sampling cell (formed simply by pasting together masked_lon and masked_lat, seperated by an underscore (_).
    unitText
    qudt:dataTypexsd:string
  • @typePropertyValue
    namemasked_lon
    descriptionLongitude of the SW corner of the sampling cell.
    unitTextdegrees
    qudt:dataTypexsd:float
  • @typePropertyValue
    namemasked_lat
    descriptionLatitude of the SW corner of the sampling cell.
    unitTextdegrees
    qudt:dataTypexsd:float
  • @typePropertyValue
    nameparticipation_days
    descriptionNumber of days elapsed between the time of the participant's first background location and the time of this one
    unitTextdays
    qudt:dataTypexsd:float
  • @typePropertyValue
    namefix_date
    descriptionThe date on which this location was recorded. YYYY-MM-DD
    unitText
    qudt:dataTypexsd:date
  • @typePropertyValue
    nameuser_coverage_uuid
    descriptionUnique random UUID assigned to the participant when the app is first activated and linked to their background tracks. This identifier is intentionally different from the reporting UUID for privacy purposes (so that background tracks and reports cannot be linked).
    unitText
    qudt:dataTypexsd:string
creator
  • @typeOrganization
    @idCEAB
    nameConsejo Superior de Investigaciones Científicas - Centro de Estudios Avanzados de Blanes (CSIC-CEAB)
  • @typePerson
    @idJP
    namePalmer, John Rossman Bertholf
  • @typePerson
    @idAE
    nameEscobar Rúbies, Agustí
measurementTechnique
  • Sampling. Anonymous citizen scientists send reports of possible observations of mosquitoes, their breeding sites and bites using the open source and free smartphone app Mosquito Alert. To send an observation, participants need to answer a small questionnaire (taxonomic questions in the case of mosquitoes or some descriptors in the case of breeding sites), indicate the location (current participant location or selecting it on a map), add a picture (optional) and notes or comments (optional). The app and project website offers information to help identify the target species and take good pictures that allow a proper post validation from entomologists (see more information onQuality Control section). Participants can edit or remove the observation at any time (only if the participant still maintains the Mosquito Alert app in their phone). The last version of each report is considered the prevailing information. There is no pre-set sampling frequency: participants can send as many data as they like. The project runs "face-to-face data collection events" mainly in schools, meaning that in some places and for a given time period, data sampling might be more intense. This is also true when and where there has been a particular dissemination event.
" ], "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": "dea1f4f2", "metadata": { "papermill": { "duration": 0.007627, "end_time": "2024-07-01T13:29:24.049759", "exception": false, "start_time": "2024-07-01T13:29:24.042132", "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.500643, "end_time": "2024-07-01T13:29:24.378472", "environment_variables": {}, "exception": null, "input_path": "build_info.ipynb", "output_path": "./meta_ipynb/user_locations.ipynb", "parameters": { "path": "./meta/mosquito_alert/user_locations" }, "start_time": "2024-07-01T13:29:22.877829", "version": "2.3.4" } }, "nbformat": 4, "nbformat_minor": 5 }