{"help":"Return the metadata of a dataset (package) and its resources. :param id: the id or name of the dataset :type id: string","success":true,"result":[{"id":"14949865-413d-4d04-9707-4dea1db8a713","name":"shieldaig-sea-trout-trap-and-electrofishing-data-1999-2020","title":"Shieldaig sea trout trap and electrofishing data (1999-2020)","author_email":"contactus@gov.scot","maintainer":"Scottish Government - Marine Directorate Data Publications","maintainer_email":"marinedirectorate@gov.scot","notes":"\u003Cp\u003EThe data archived here were used to examine the effects of salmon lice on the return rate, time at sea and marine growth of sea trout migrating from the river Shieldaig in Scotland. The data were collected between 1999 and 2020 and consist of a) fish captures in a trap at the mouth of the river Shieldaig with associated length and weight measurements; and b) fish captures by electrofishing in the area below the trap with associated salmon lice counts.\u003C\/p\u003E\n\u003Cp\u003EThe data are the basis of the paper:\u003Cbr \/\u003E\nA 20-year study examining the effects of salmon lice on the return rate, time at sea, and marine growth of sea trout migrating from the river Shieldaig in Scotland.  D J Morris, R J Fryer, J A Raffell, S J Middlemas, J D Godfrey, J D Armstrong.  ICES Journal of Marine Science, Volume 83, Issue 1, fsag001 \u003Ca href=\u0022https:\/\/doi.org\/10.1093\/icesjms\/fsag001\u0022\u003Ehttps:\/\/doi.org\/10.1093\/icesjms\/fsag001\u003C\/a\u003E.\u003C\/p\u003E\n","url":"https:\/\/data.marine.gov.scot\/dataset\/shieldaig-sea-trout-trap-and-electrofishing-data-1999-2020","state":"Active","private":true,"revision_timestamp":"Thu, 06\/11\/2026 - 15:14","metadata_created":"Thu, 06\/11\/2026 - 10:00","metadata_modified":"Thu, 06\/11\/2026 - 15:14","creator_user_id":"ef1d5231-9817-4ea3-875e-aadc55addee0","type":"Dataset","resources":[{"id":"7faf1c66-6705-4851-8a4a-43b1b7a4f6d1","revision_id":"","url":"https:\/\/data.marine.gov.scot\/sites\/default\/files\/\/trap.csv","description":"\u003Cp\u003EThe file trap.csv contains the data on sea trout captures in the trap in the river Shieldaig that form the basis of the paper \u003Ca href=\u0022https:\/\/doi.org\/10.1093\/icesjms\/fsag00\u0022\u003EA 20-year study examining the effects of salmon lice on the return rate, time at sea, and marine growth of sea trout migrating from the river Shieldaig in Scotland\u003C\/a\u003E.\u003C\/p\u003E\n\u003Cp\u003EThe file is UTF-8-BOM encoded so can be read directly into Excel, or into R using the function read.csv with the argument fileEncoding = \u201cUTF-8-BOM\u201d.\u003C\/p\u003E\n\u003Cp\u003EThe variables in the file are:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Efish\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: identifier of each trout\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: 17427\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Estock\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: wild-origin or hatchery-origin trout\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: hatchery-origin, wild-origin\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_number\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: identifies each capture and release of an individual trout from the downstream trap\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: integer\u003Cbr \/\u003E\nRange: 1, 4\u003Cbr \/\u003E\nNote: a release_number of 1 identifies the first time a trout was caught and released in the downstream trap; a release_number of 2 identifies the second time the trout was caught and released in the downstream trap; and so on. Most trout were only caught and released once.\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_lifestage\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the lifestage of the trout when released from the downstream trap\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: smolt, finnock, adult\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_date\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the date the trout was released from the downstream trap\u003Cbr \/\u003E\nUnit: YYYY-MM-DD\u003Cbr \/\u003E\nType: date\u003Cbr \/\u003E\nRange: 1999-03-08, 2019-06-19\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_year\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the year the trout was released from the downstream trap\u003Cbr \/\u003E\nUnit: y\u003Cbr \/\u003E\nType: discrete\u003Cbr \/\u003E\nRange: 1999, 2019\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_month\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the month the trout was released from the downstream trap\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: January, February, March, April, May, June, July, August, September, November\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_day\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the day of the year (from 1 January) that the trout was released from the downstream trap\u003Cbr \/\u003E\nUnit: d\u003Cbr \/\u003E\nType: discrete\u003Cbr \/\u003E\nRange: 8, 331\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_length\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the length of the trout when released from the downstream trap\u003Cbr \/\u003E\nUnit: mm\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 91, 414\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_weight\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the weight of the trout when released from the downstream trap\u003Cbr \/\u003E\nUnit: g\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 8, 534\u003Cbr \/\u003E\nNote: measured from 2001 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Erelease_condition\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the condition of the trout when released from the downstream trap\u003Cbr \/\u003E\nUnit: dimensionless\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: -0.7, 0.91\u003Cbr \/\u003E\nNote: the residuals from a linear mixed model of log weight on log length (see the paper for details); available from 2001 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Einfestation_presence\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: a metric of sea lice infestation pressure based on presence \/ absence of lice\u003Cbr \/\u003E\nUnit: %\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 0, 88.7\u003Cbr \/\u003E\nNote: the metric was based on electrofishing data from the lower reaches of the River Shieldaig in the year the trout was released from the trap; it was defined as the proportion of trout caught by electrofishing with at least one louse\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Einfestation_threshold\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: a metric of sea lice infestation pressure based on the lice threshold for harm\u003Cbr \/\u003E\nUnit: %\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 0, 75.8\u003Cbr \/\u003E\nNote: the metric was based on electrofishing data from the lower reaches of the River Shieldaig in the year the trout was released from the trap; it was defined as the proportion of trout that met or exceeded the threshold for harm of 13 mobile lice; available from 2002 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_date\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the date the trout was recaptured (if it was)\u003Cbr \/\u003E\nUnit: YYYY-MM-DD\u003Cbr \/\u003E\nType: date\u003Cbr \/\u003E\nRange: 1999-06-17, 2019-10-07\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_year\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the year the trout was recaptured\u003Cbr \/\u003E\nUnit: y\u003Cbr \/\u003E\nType: discrete\u003Cbr \/\u003E\nRange: 1999, 2019\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_month\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the month the trout was recaptured\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: March, April, May, June, July, August, September, October, November\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_day\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the day of the year (from 1 January) that the trout was recaptured\u003Cbr \/\u003E\nUnit: d\u003Cbr \/\u003E\nType: discrete\u003Cbr \/\u003E\nRange: 79, 321\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_direction\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: whether the trout was recaptured in the upstream or downstream trap\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: downstream, upstream\u003Cbr \/\u003E\nNote: trout recaptured in the upstream trap were returning from sea; those recaptured in the downstream trap had evaded the upstream trap and were migrating to sea\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_length\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the length of the trout when recaptured\u003Cbr \/\u003E\nUnit: mm\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 147, 448\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_weight\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the weight of the trout when recaptured\u003Cbr \/\u003E\nUnit: g\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 22, 894\u003Cbr \/\u003E\nNote: measured from 2001 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Edays_at_sea\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the number of days between release and recapture\u003Cbr \/\u003E\nUnit: d\u003Cbr \/\u003E\nType: discrete\u003Cbr \/\u003E\nRange: 46, 193\u003Cbr \/\u003E\nNote: only provided for the releases and recaptures analysed in the paper; specifically, the first release and recapture of those trout used in the analysis of return rates (see return_analysis below) that were recaptured in the upstream trap in the same year as release\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Especific_growth_rate\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the specific growth rate between release and recapture\u003Cbr \/\u003E\nUnit: %\/d\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: -0.83, 2.57\u003Cbr \/\u003E\nNote: only provided for the releases and recaptures analysed in the paper; specifically, the first release and recapture of those trout used in the analysis of return rates (see return_analysis below) that were recaptured in the upstream trap in the same year as release; available from 2001 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ereturn_analysis\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: whether a release was used in the analysis of return rates\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: logical\u003Cbr \/\u003E\nLevels: TRUE (88%), FALSE (12%)\u003Cbr \/\u003E\nNote: identifies the releases used in the analysis of return rates in the paper; specifically, the first release of trout with length \u0026lt;= 212 mm\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Elength_analysis\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: whether a release was used in the quadratic discriminant analysis of length\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: logical\u003Cbr \/\u003E\nLevels: TRUE (3%), FALSE (97%)\u003Cbr \/\u003E\nNote: identifies the releases used in the quadratic discriminant analysis of length in the paper; specifically, the first and second releases of trout that were identified as smolts in their first release and were released for a second time the following year\u003C\/p\u003E\n","format":"csv","state":"Active","revision_timestamp":"Thu, 06\/11\/2026 - 15:14","name":"Sea trout captures in the trap in the river Shieldaig","mimetype":"text\/csv","size":"2.31 MB","created":"Thu, 06\/11\/2026 - 10:02","resource_group_id":"31be76ba-0c93-4b89-92cd-afa54780775d","last_modified":"Date changed  Thu, 06\/11\/2026 - 15:14"},{"id":"d89cfa08-7677-4436-8489-899406b1ffa5","revision_id":"","url":"https:\/\/data.marine.gov.scot\/sites\/default\/files\/\/electrofishing.csv","description":"\u003Cp\u003EThe file electrofishing.csv contains the data on sea trout captures by electrofishing in the mouth of the river Shieldaig. These data are used to construct metrics of sea lice infestation pressure in the paper \u003Ca href=\u0022https:\/\/doi.org\/10.1093\/icesjms\/fsag00\u0022\u003EA 20-year study examining the effects of salmon lice on the return rate, time at sea, and marine growth of sea trout migrating from the river Shieldaig in Scotland\u003C\/a\u003E.\u003C\/p\u003E\n\u003Cp\u003EThe file is UTF-8-BOM encoded so can be read directly into Excel, or into R using the function read.csv with the argument fileEncoding = \u201cUTF-8-BOM\u201d.\u003C\/p\u003E\n\u003Cp\u003EThe variables in the file are:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Edate\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the date the trout was caught\u003Cbr \/\u003E\nUnit: YYYY-MM-DD\u003Cbr \/\u003E\nType: date\u003Cbr \/\u003E\nRange: 1999-05-11, 2019-06-26\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Eyear\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the year the trout was caught\u003Cbr \/\u003E\nUnit: y\u003Cbr \/\u003E\nType: discrete\u003Cbr \/\u003E\nRange: 1999, 2019\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Emonth\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the month the trout was caught\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: May, June\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Eday\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the day of the year (from 1 January) that the trout was caught\u003Cbr \/\u003E\nUnit: d\u003Cbr \/\u003E\nType: discrete\u003Cbr \/\u003E\nRange: 122, 180\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Efish\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: identifier of each trout\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: categorical\u003Cbr \/\u003E\nLevels: 804\u003Cbr \/\u003E\nNote: some trout were not tagged so have no identifier\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Elength\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the length of the trout\u003Cbr \/\u003E\nUnit: mm\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 104, 386\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Eweight\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the weight of the trout\u003Cbr \/\u003E\nUnit: g\u003Cbr \/\u003E\nType: continuous\u003Cbr \/\u003E\nRange: 14, 600\u003Cbr \/\u003E\nNote: not measured in 1999, 2000, 2006, 2007, 2008\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Eattached\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the number of attached (copepodid \/ chalimus) lice on the trout\u003Cbr \/\u003E\nUnit: n\u003Cbr \/\u003E\nType: integer\u003Cbr \/\u003E\nRange: 0, 500\u003Cbr \/\u003E\nNote: when counting would be overly time-consuming, a ballpark estimate of 100, 200, or 500 was recorded to prevent the trout from being under anaesthetic for too long; measured from 2002 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Emobile\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the number of mobile (pre-adults or adults excluding ovigerous females) lice on the trout\u003Cbr \/\u003E\nUnit: n\u003Cbr \/\u003E\nType: integer\u003Cbr \/\u003E\nRange: 0, 157\u003Cbr \/\u003E\nNote: measured from 2002 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Eovigerous\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: the number of ovigerous female lice on the trout\u003Cbr \/\u003E\nUnit: n\u003Cbr \/\u003E\nType: integer\u003Cbr \/\u003E\nRange: 0, 3\u003Cbr \/\u003E\nNote: measured from 2002 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Epresence\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: whether the trout had any lice\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: logical\u003Cbr \/\u003E\nLevels: TRUE (33%), FALSE (67%)\u003Cbr \/\u003E\nNote:\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Ethreshold\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: whether the total number of mobile lice on the trout met or exceeded the threshold for harm\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: logical\u003Cbr \/\u003E\nLevels: TRUE (24%), FALSE (76%)\u003Cbr \/\u003E\nNote: the threshold for harm was 13 mobile lice; the total number of mobile lice on the trout was calculated as 0.63 x attached + mobile + ovigerous, where the factor of 0.63 accounts for the survival of attached lice to the mobile stage; available from 2002 onwards\u003C\/p\u003E\n\u003Cp\u003E\u003Cstrong\u003Einclude\u003C\/strong\u003E\u003Cbr \/\u003E\nDescription: whether the capture was used in the calculation of the sea lice infestation pressure metrics\u003Cbr \/\u003E\nUnit:\u003Cbr \/\u003E\nType: logical\u003Cbr \/\u003E\nLevels: TRUE (96%), FALSE (4%)\u003Cbr \/\u003E\nNote: when a trout was captured more than once in a particular year, the capture with the greatest total number of mobile lice was used; in the event of a tie, the latest capture was used\u003C\/p\u003E\n","format":"csv","state":"Active","revision_timestamp":"Thu, 06\/11\/2026 - 15:14","name":"Sea trout captures by electrofishing in the mouth of the river Shieldaig","mimetype":"text\/csv","size":"55.79 KB","created":"Thu, 06\/11\/2026 - 10:04","resource_group_id":"31be76ba-0c93-4b89-92cd-afa54780775d","last_modified":"Date changed  Thu, 06\/11\/2026 - 15:14"}],"tags":[{"id":"8b05f2d6-c03e-48d4-8a83-0da46272fcdf","vocabulary_id":"2","name":"impact"},{"id":"4f08d815-d4bc-49a8-b66b-99f00dd78df5","vocabulary_id":"2","name":"anadromous brown trout"},{"id":"23f7db3b-3b86-4d82-b6ed-5e69d9e1ac65","vocabulary_id":"2","name":"Salmo trutta"},{"id":"44490a9a-35c0-4110-9a10-c5604867a351","vocabulary_id":"2","name":"marine survival"},{"id":"b1df6713-b14d-4f17-ba4a-141b79c5f695","vocabulary_id":"2","name":"Lepeophtheirus salmonis"},{"id":"66f1f49b-c49c-49c9-91df-466ee97619b7","vocabulary_id":"2","name":"aquaculture"},{"id":"eb1e378c-2525-4388-bd4f-5d0de09d637f","vocabulary_id":"2","name":"specific growth rate"},{"id":"2f09a98d-daec-4d86-ba93-35803926a844","vocabulary_id":"2","name":"Loch Torridon"},{"id":"903cc237-b06e-4787-a207-d23320863fb9","vocabulary_id":"2","name":"adipose fin clipping"}],"groups":[{"description":"\u003Cp\u003EData and reports from the Freshwater Laboratory in Marine Directorate.\u003C\/p\u003E\n","id":"31be76ba-0c93-4b89-92cd-afa54780775d","image_display_url":"https:\/\/data.marine.gov.scot\/sites\/default\/files\/\/button%20220i-16.png","title":"Freshwater","name":"group\/freshwater"}]}]}