Hi,
I am working with a large data set (20,000 rows) of bird migration data. The data is split between 35 birds. My aim is to map the location and the behaviour of the bird on that day, for each bird. I will be doing this in QGIS, but need to get my data into the right format prior to importation into different software.
This is a sample of my data below: (see sample worksheet attached for larger sample)
bird date flight rest forage Bird Date Latitude Longitude
eb80612 15/07/2012 3 68 22 eb80612 16/07/2012 33.01 -9.35
eb80612 16/07/2012 5 40 22 eb80612 18/07/2012 50.22 -4.44
eb80612 17/07/2012 0 72 24 eb80612 19/07/2012 51.59 -5.67
eb80612 18/07/2012 2 62 31 eb80612 20/07/2012 52.01 -5.15
eb80612 19/07/2012 2 64 30 eb80612 21/07/2012 52.8 -3.89
eb80612 20/07/2012 1 47 39 eb80848 08/08/2012 54.325 -4.905
eb80848 07/08/2012 0 32 65 eb80848 09/08/2012 53.105 -4.375
eb80848 08/08/2012 0 39 58 eb80848 11/08/2012 54.53 -4.95
eb80848 09/08/2012 0 46 52 eb80848 12/08/2012 53.48 -4.98
eb80848 10/08/2012 0 35 62
eb80848 11/08/2012 0 49 47
I need to match the behaviour to the location and bird, as obviously I cannot plot a behaviour onto a map without it having an associated location and bird.
So for example, I would need this data looking like this (see below) - by removing any behaviour days which do not have a corresponding location for that date and that bird; and by removing any location days where behaviour data for that bird has not been recorded.
bird date flight Rest Forage Bird Date Latitude Longitude
eb80612 16/07/2012 5 40 22 eb80612 16/07/2012 33.01 -9.35
eb80612 18/07/2012 2 62 31 eb80612 18/07/2012 50.22 -4.44
eb80612 19/07/2012 2 64 30 eb80612 19/07/2012 51.59 -5.67
eb80612 20/07/2012 1 47 39 eb80612 20/07/2012 52.01 -5.15
eb80848 08/08/2012 0 39 58 eb80848 08/08/2012 54.325 -4.905
eb80848 09/08/2012 0 46 52 eb80848 09/08/2012 53.105 -4.375
eb80848 11/08/2012 0 49 47 eb80848 11/08/2012 54.53 -4.95
This is too time consuming / creates too much human error to do it manually. But I cannot find a way to apply e.g. a formula, to either the entire data set, or each bird’s data.
Any help would be AMAZING!
Thank you!
Bookmarks