Comparative Kingship (Scotland)
Data is available as JSON or CSV.
List of Endpoints
The place-name data featured in this resource is copyright of the University of Glasgow. Tables of data are available to download as csv files, or as JSON data. All place-name data taken from this resource should be properly attributed. They are made available through a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. This allows users to share and adapt the materials freely with the appropriate attribution but not for commercial purposes. Please see further details of this license here: http://creativecommons.org/licenses/by-nc-sa/4.0/
Accepts one string and matches it to any text found in the following fields:
- Place-name (En)
- Place-name (Gd)
- Grid Reference
Use an asterisk wildcard to match start (hall*), end (*hall) or middle (*hall*). Use an underscore wildcard for individual letters (h_ll). Use double quotes for an exact search ("hall"). Pass no string to return all data.
Accepts any combination of up to 17 different arguments, each of which is joined with AND. Replace argument with 'null' if the search shouldn't include it.
- Place-name: Searches current and / or historical place-names (depending on the next argument). Uses the same wildcard characters as the quick search
- Name type: Specify 'current' or 'historical' to limit a search or 'all' to include both types
- Name language: Specify 'en' or 'gd' to limit a search to English or Gaelic current / historical place-names
- Earliest Start Date: Limit by the earliest recorded start date. Either supply a single year (e.g. 1600) or a range of years (e.g. 1550-1650), or use the less-than sign for dates before (e.g. <1600) or a greater-than sign for dates after (e.g. >1599)
- Source ID: limit the search to a single source ID
- Source text: Searches both short and full titles. Wildcards can be used as with quick search
- Obsolete: Specify 'Y' to limit search to only include obsolete forms or 'N' to limit search to only include non-obsolete forms
- Linear: Specify 'Y' to limit search to only include linear forms or 'N' to limit search to only include non-linear forms.
- Parishes: Include the numeric IDs of one or more parishes separated by commas to limit a search to only the selected parishes. Multiple parishes are joined with 'OR'
- Codes: Include one or more place-name code separated by commas to limit a search to only these classification types
- NGR: specify a single grid reference. Wildcards can be used, as with 'quick search'
- Altitude: specify an exact altitude (e.g. 50) or a range (e.g. 25-100)
- Analysis: search the 'analysis' field. Wildcards can be used as with 'quick search'
- Element ID: limit the search to a single element ID
- Element text: Limit a search to text found in an element. Wildcards can be used as with 'quick search'
- Element language: specify the code for an element language to limit a search to this language.
- Element found in: Specify 'current' or 'historical' to limit a search to elements associated with current or historical forms
Search for historical forms that have an 'h' followed by any character followed by 'll' (e.g. 'hill', 'hall') and an earliest start date between 1400 and 1500 and are classified as either settlements or antiquity:
Search for placenames that appear in the source with ID 6 (OS 6 inch 1st edn BWK sheet XVIII) that have a grid reference 'NT9__5__' and have an altitude between 0 and 50 metres:
Search for place-names that mention 'Edinburgh' in their analysis and are found in parishes with ID 1-4 (ASB, AYT, BUP, CHK)
Search for place-names that have an element in the language 'SSE' that are classified as 'coastal' or 'water':
Pass a string and return all sources that feature the string in the 'source' or 'fulltitle' field. Alternatively, pass a numeric ID to return the details of a single source. Primarily used for an 'autocomplete' feature, therefore no wildcards are allowed. Pass no string to return a complete list of sources that are in use.
Return all of the parishes that are in use in the system. Can be used to get 'parish ID' for use in the advanced search.
Return all of the classification codes that are in use. These can then be used in the advanced search.
Search for an element and / or an element language, pass no arguments to return all of the elements that are currently associated with a place-name in the system. Alternatively, pass a numeric element ID to return details for a specific element. This is primarily used to populate the autocomplete in the advanced search so no wildcards can be passed.
Return all elements that begin with the characters 'ba':
Return all elements of language 'SSE' that have the characters 'st' in them:
Return all elements of language 'en':
Return details for element with ID 1932:
Return data about all of the languages that are currently associated with place-names. Language codes can be used in the element data and advanced searches.
Pass the ID for one place-name and the fields used in map pop-ups are returned
Pass one of eight browse types (e.g. current place-name forms) to return each item and a count of the number of place-names that match the item:
- nameCurrent: A list of initial letters of current English place-names and the number of place-names for each
- gd_nameCurrent: A list of initial letters of current Gaelic place-names and the number of place-names for each
- nameHistorical: A list of initial letters of English historical forms and the number of place-names for each
- gd_nameHistorical: A list of initial letters of Gaelic historical forms and the number of place-names for each
- startDate: A list of the earliest start dates of each place-name and the number of place-names for each
- source: A list of every source associated with historical forms and the number of place-names for each
- parish: A list of every parish and the number of place-names associated with each
- code: A list of every classification code and the number of place-names associated with each
Pass the ID for one place-name and all available data for the place-name is returned