Sending to iRecordΒΆ
By way of specific example and to document the iRecord General survey, since some apps may wish to submit to this, below is a list of the name value pairs that it accepts.
Firstly there are the basic inputs and standard sample and occurrence values.
Name |
Value |
---|---|
website_id |
|
survey_id |
|
appname |
The app name that was configured. |
appsecret |
The app secret set for the app name. |
Email of the user submitting the record. |
|
usersecret |
Secret of the user submitting the record. |
sample:date |
E.g. |
sample:entered_sref_system |
E.g. |
sample:entered_sref |
E.g. |
sample:comment |
Any plain text. |
occurrence:taxa_taxon_list_id |
Required. The id of the species name within a species list. |
Tip
You can grab taxa_taxon_list_id values from iRecord by examining HTML with a browser debugger.
Go to http://www.brc.ac.uk/irecord/enter-casual-record and start typing the name of the species you want to look up in the species input. The name will pop up in a list from which you can select it.
If the name does not appear then it is not in the list for some reason, e.g. incorrect spelling.
Having selected the species, inspect the HTML around the species input. You will find a hidden input like
<input id="occurrence:taxa_taxon_list_id" class="hidden" type="hidden" value="123169" name="occurrence:taxa_taxon_list_id">
The value attribute holds the number you are looking for, 123169 in this case.
The sample attributes for the iRecord General survey are as follows.
Name |
Value |
---|---|
smpAttr:127 |
Recorder Name. |
smpAttr:209 |
EUNIS Habitat. A numeric value indicates a habitat as follows
1640 Coast1642 Coastal dunes and sandy shores1644 Coastal shingle1646 Rock cliffs, ledges and shores, including the splash zone1648 Inland water1650 Standing waters1652 Running waters1654 Frequently inundated edge of inland water bodies including splash zone of waterfalls1656 Bogs and fens1658 Raised and blanket bogs1660 Peatlands receiving water from surrounding landscape1662 Peatlands receiving calcareous or eutrophic ground water1664 Sedge and reedbeds, normally without free-standing water1666 Inland saline and brackish marshes and reedbeds1668 Grassland1670 Dry grasslands including chalk grassland1672 Fertile grasslands including hay meadows1674 Wet grasslands such as grazing marshes, water meadows and flood meadows1676 Woodland edges, clearings and tall herb stands1678 Sparsely wooded grasslands1680 Heathland, scrub, hedgerow1682 Scrub1684 Shrub heathland1686 Riverine and fen scrubs1688 Hedgerows1690 Shrub plantations1692 Woodland1694 Broadleaved deciduous woodland1696 Broadleaved evergreen woodland1698 Coniferous woodland1700 Mixed deciduous and coniferous woodland1702 Lines of trees and small woodlands1704 Unvegetated or sparsely vegetated habitats1706 Caves1708 Screes1710 Inland cliffs, rock pavements and rocky outcrops1712 Snow or ice dominated habitats1714 Inland habitats with sparse or no vegetation1716 Arable land, gardens or parks1718 Arable and horticultural land1720 Gardens and parks1722 Industrial and urban1724 Buildings of cities, towns and villages1726 Quarries1728 Roads and other constructed hard surfaces1730 Artifically constructed waterways and associated structures1732 Waste deposits1734 Mixed habitats1736 Estuaries1738 Saline coastal lagoons1740 Brackish coastal lagoons1742 Snow patches1744 Crops shaded by trees1746 Intensively-farmed crops interspersed with strips of natural and/or
semi-natural vegetation1748 Bottom of the water body1750 Mixed rock and sediment in the intertidal and splash zone1752 Mixed rock & sediment of shallow subtidal zone with enough light for
communities of seaweeds1754 Mixed rock & sediment of subtidal zone at depths with little light and
animal communities dominate1756 Coastal caves1758 Marine1760 Rock and other hard surfaces in the intertidal and splash zone1762 Sediment (shingles, gravels, sands and muds) in the intertidal and s
plash zone including saltmarshes1764 Rocky or cobbled seabed in the shallow subtidal zone with enough
light for communities of seaweeds1766 Rocky or cobbled seabed in the subtidal zone with little light and
animal communities dominate1768 Sediments (shingles, gravels, sands and muds) permanently covered
with seawater1770 Seabed in deep water beyond the continental shelf edge1772 Water column of shallow or deep water1774 Sea ice, icebergs and other ice-associated marine habitats |
There are five other sample attributes which exist for historic reasons and are now largely redundant because the Indicia User Id is saved with each record. For completeness, these are
Name |
Value |
---|---|
smpAttr:8 |
Email. Submit a value of |
smpAttr:21 |
CMS User ID. Submit a value of |
smpAttr:22 |
CMS Username. Submit a value of |
smpAttr:36 |
First Name. Submit a value of |
smpAttr:58 |
Last Name. Submit a value of |
The occurrence attributes for the iRecord General survey are as follows.
Name |
Value |
---|---|
occAttr:18 |
Identified By. A text value indicating who identified the specimen as this might be different from both the recorder and the person submitting the record. |
occAttr:54 |
Certainty. A numeric value indicates the recorders certainty as follows
859 Certain860 Likely861 Uncertain |
occAttr:93 |
Quantity. A test value indicating the number of specimens of the species that were observed. |
occAttr:105 |
Sex. A numeric value indicates the sex of the specimen as follows
1946 Not recorded1947 Male1948 Female3482 Mixed |
occAttr:106 |
Stage. A numeric value indicates the life stage of the specimen as follows
1949 Not recorded1950 Adult1951 Pre-adult1952 Other |