home / cp40x

names

11 rows where case_id = 2349811

✎ 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
4976092 2349811 2349811 plaintiff Ormesby John     Ormesby, John 0
4976093 2349811 2349811 defendant Morpath Richard merchant 664422 664422 Morpath, Richard, of Newcastle in Tyne, merchant 0
4976094 2349811 2349811 defendant Benton John merchant 664422 664422 Benton, John, of Newcastle in Tyne, merchant 1
4976095 2349811 2349811 defendant Clerk John merchant 664422 664422 Clerk, John, of Newcastle in Tyne, merchant 2
4976096 2349811 2349811 defendant Castell Thomas merchant 664422 664422 Castell, Thomas, of Newcastle in Tyne, merchant 3
4976097 2349811 2349811 defendant Bygge John mariner 664422 664422 Bygge, John, of Newcastle in Tyne, mariner 4
4976098 2349811 2349811 defendant Steven Nicholas mariner 664422 664422 Steven, Nicholas, of Newcastle in Tyne, mariner 5
4976099 2349811 2349811 defendant Bendbowe Robert mariner 664422 664422 Bendbowe, Robert, of Newcastle in Tyne, mariner 6
4976100 2349811 2349811 defendant Ray John mariner 664422 664422 Ray, John, of Newcastle in Tyne, mariner 7
4976101 2349811 2349811 defendant Coke Robert mariner 664422 664422 Coke, Robert, of Newcastle in Tyne, mariner 8
4976102 2349811 2349811 defendant Longe Thomas mariner 664422 664422 Longe, Thomas, of Newcastle in Tyne, mariner 9

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.946ms