Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtener datos de eBird y mapearlos con los del anuario #131

Open
viktorKhan opened this issue Dec 1, 2020 · 7 comments
Open

Obtener datos de eBird y mapearlos con los del anuario #131

viktorKhan opened this issue Dec 1, 2020 · 7 comments
Assignees
Labels

Comments

@viktorKhan
Copy link
Member

La aplicación móvil eBird, usada mundialmente por observadores de aves expone una API REST que puede ser consultada.

Enlace a la documentación de la API -> https://documenter.getpostman.com/view/664302/S1ENwy59?version=latest

@viktorKhan
Copy link
Member Author

viktorKhan commented Dec 1, 2020

He realizado una llamada a este endpoint https://documenter.getpostman.com/view/664302/S1ENwy59?version=latest#952a4310-536d-4ad1-8f3e-77cfb624d1bc para obtener la taxonomía que usa eBird y este es un ejemplo:

        "comName": "Long-eared Owl",
        "speciesCode": "loeowl",
        "category": "species",
        "taxonOrder": 8725.0,
        "bandingCodes": [
            "LEOW"
        ],
        "comNameCodes": [],
        "sciNameCodes": [
            "ASOT"
        ],
        "order": "Strigiformes",
        "familyComName": "Owls",
        "familySciName": "Strigidae"

Adjunto el fichero completo:

ebird-taxonomy.txt

@Terekab puedes mirar si podemos mapear este tipo de taxonomía con la que usamos en el anuario?

@viktorKhan
Copy link
Member Author

viktorKhan commented Dec 1, 2020

Estos son los términos y condiciones de uso -> https://www.birds.cornell.edu/home/ebird-data-access-terms-of-use/

we make these data freely available for non-commercial use

@viktorKhan
Copy link
Member Author

Los códigos para regiones son:

Country -> ES (Spain)
subnational1 -> ES-CM (Castilla - La Mancha)
subnational2 -> ES-CM-AB (Albacete)

@viktorKhan
Copy link
Member Author

viktorKhan commented Dec 1, 2020

Este es un ejemplo de observación obtenida a través de la llamada https://documenter.getpostman.com/view/664302/S1ENwy59?version=latest#3d2a17c1-2129-475c-b4c8-7d362d6000cd

{
        "speciesCode": "eurser1",
        "comName": "European Serin",
        "sciName": "Serinus serinus",
        "locId": "L12848071",
        "locName": "Camino de los Paredazos a la Lobera, Albacete ES-Castilla-La Mancha 38.95948, -2.05428",
        "obsDt": "2020-12-01 13:03",
        "howMany": 16,
        "lat": 38.959483,
        "lng": -2.054281,
        "obsValid": true,
        "obsReviewed": false,
        "locationPrivate": true,
        "subId": "S76931794"
    }

El campo "subId": "S76931794" parece ser el código de la checklist.

@viktorKhan
Copy link
Member Author

Con esta llamada https://documenter.getpostman.com/view/664302/S1ENwy59?version=latest#2ee89672-4211-4fc1-8493-5df884fbb386 se puede obtener la información de una checklist completa, y en ella se incluye el nombre del usuario entre otros datos

{
    "projId": "EBIRD",
    "subId": "S33881348",
    "protocolId": "P22",
    "locId": "L4745690",
    "durationHrs": 3.0,
    "allObsReported": true,
    "creationDt": "2017-01-23 05:03",
    "lastEditedDt": "2017-03-16 11:09",
    "obsDt": "2017-01-22 13:30",
    "obsTimeValid": true,
    "checklistId": "CL27693",
    "numObservers": 1,
    "effortDistanceKm": 5.0,
    "effortDistanceEnteredUnit": "km",
    "subnational1Code": "ES-AR",
    "submissionMethodCode": "EBIRD_android",
    "submissionMethodVersion": "1.5",
    "userDisplayName": "Víctor Cañizares Mata",
    "submissionMethodVersionDisp": "1.5",
    "obs": [
        {
            "speciesCode": "lammer1",
            "hideFlags": [],
            "obsDt": "2017-01-22 13:30",
            "subnational1Code": "ES-AR",
            "howManyAtleast": 1,
            "howManyAtmost": 1,
            "howManyStr": "1",
            "subId": "S33881348",
            "projId": "EBIRD",
            "obsId": "OBS459738404",
            "present": false,
            "obsAux": [
                {
                    "subId": "S33881348",
                    "obsId": "OBS459738404",
                    "speciesCode": "lammer1",
                    "fieldName": "breeding_code",
                    "entryMethodCode": "ebird_breeding",
                    "auxCode": "FO",
                    "value": "C1"
                }
            ]
        },
        {
            "speciesCode": "eurgri1",
            "hideFlags": [],
            "obsDt": "2017-01-22 13:30",
            "subnational1Code": "ES-AR",
            "howManyAtleast": 10,
            "howManyAtmost": 10,
            "howManyStr": "10",
            "subId": "S33881348",
            "projId": "EBIRD",
            "obsId": "OBS459738403",
            "present": false,
            "obsAux": [
                {
                    "subId": "S33881348",
                    "obsId": "OBS459738403",
                    "speciesCode": "eurgri1",
                    "fieldName": "breeding_code",
                    "entryMethodCode": "ebird_breeding",
                    "auxCode": "FO",
                    "value": "C1"
                }
            ]
        },
        {
            "speciesCode": "goleag",
            "hideFlags": [],
            "obsDt": "2017-01-22 13:30",
            "subnational1Code": "ES-AR",
            "howManyAtleast": 1,
            "howManyAtmost": 1,
            "howManyStr": "1",
            "subId": "S33881348",
            "projId": "EBIRD",
            "obsId": "OBS459738401",
            "present": false,
            "obsAux": [
                {
                    "subId": "S33881348",
                    "obsId": "OBS459738401",
                    "speciesCode": "goleag",
                    "fieldName": "breeding_code",
                    "entryMethodCode": "ebird_breeding",
                    "auxCode": "FO",
                    "value": "C1"
                }
            ]
        },
        {
            "speciesCode": "rebcho1",
            "hideFlags": [],
            "obsDt": "2017-01-22 13:30",
            "subnational1Code": "ES-AR",
            "howManyAtleast": 1,
            "howManyAtmost": 1,
            "howManyStr": "1",
            "subId": "S33881348",
            "projId": "EBIRD",
            "obsId": "OBS459738400",
            "present": false
        },
        {
            "speciesCode": "yebcho1",
            "hideFlags": [],
            "obsDt": "2017-01-22 13:30",
            "subnational1Code": "ES-AR",
            "howManyAtleast": 5,
            "howManyAtmost": 5,
            "howManyStr": "5",
            "subId": "S33881348",
            "projId": "EBIRD",
            "obsId": "OBS459738405",
            "present": false
        },
        {
            "speciesCode": "watpip1",
            "hideFlags": [],
            "obsDt": "2017-01-22 13:30",
            "subnational1Code": "ES-AR",
            "howManyAtleast": 1,
            "howManyAtmost": 1,
            "howManyStr": "1",
            "subId": "S33881348",
            "projId": "EBIRD",
            "obsId": "OBS459738402",
            "present": false
        }
    ]
}

@viktorKhan
Copy link
Member Author

Esto se ajusta a lo que andamos buscando https://ebird.org/about/portals

@Terekab
Copy link
Collaborator

Terekab commented Dec 15, 2020

Me pongo en contacto con los coordinadores nacionales de eBird España para hablar sobre ello.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants