home / cp40x

names

6 rows where case_id = 2271869

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4720894 2271869 2271869 plaintiff Burton John   586093 586093 Burton, John, of Selby 0
4720895 2271869 2271869 defendant Schercroft Richard de miller 790873 790873 Schercroft, Richard de, of Abirforth, miller 0
4720896 2271869 2271869 defendant Conyngston James   790874 790874 Conyngston, James, of Midilton on the Wold, parson & clerk 1
4720897 2271869 2271869 defendant Mildvale Robert clerk 589274 589274 Mildvale, Robert, of Cotyngham, clerk 2
4720898 2271869 2271869 defendant Lumby John husbandman 790875 790875 Lumby, John, of Lumby, husbandman 3
4720899 2271869 2271869 defendant Thorn John husbandman 753410 753410 Thorn, John, of Rouclyf, husbandman 4

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 15.296ms