home / cp40x

names

10 rows where case_id = 2371822

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5050648 2371822 2371822 plaintiff Turton William, senior (legal representative) 840316 840316 Turton, William, senior, of Gunthwayte, executors of 0
5050649 2371822 2371822 plaintiff Turton Richard     (Turton, Richard 1
5050650 2371822 2371822 plaintiff Turton John     Turton, John 2
5050651 2371822 2371822 plaintiff Turton William     Turton, William 3
5050652 2371822 2371822 plaintiff Turton Thomas     Turton, Thomas 4
5050653 2371822 2371822 plaintiff Turton Nicholas son of William, of Gunthwayt   Turton, Nicholas, son of William, of Gunthwayt 5
5050654 2371822 2371822 defendant Preston William husbandman 840317 840317 Preston, William, of Warnefold, husbandman 0
5050655 2371822 2371822 defendant Frankysth Thomas husbandman 840318 840318 Frankysth, Thomas, of Warmfeld, husbandman 1
5050656 2371822 2371822 defendant Gaunt William husbandman 840319 840319 Gaunt, William, of Holand Swayn, husbandman 2
5050657 2371822 2371822 defendant Brubber John husbandman 840320 840320 Brubber, John, of Thryber, husbandman 3

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 17.35ms