home / cp40x

names

9 rows where case_id = 2386988

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5101929 2386988 2386988 plaintiff Bate John clerk   Bate, John, clerk 0
5101930 2386988 2386988 plaintiff Fraunceys Thomas     Fraunceys, Thomas 1
5101931 2386988 2386988 defendant Fraunceys Robert esq 846550 846550 Fraunceys, Robert, of Formwerk, esq 0
5101932 2386988 2386988 defendant FitzHerberd Nicholas gent 846550 846550 FitzHerberd, Nicholas, of Formwerk, gent 1
5101933 2386988 2386988 defendant Neuton Robert gent 593171 593171 Neuton, Robert, of Milton, gent 2
5101934 2386988 2386988 defendant Dawys Robert husbandman 818901 818901 Dawys, Robert, of Ingulby, husbandman 3
5101935 2386988 2386988 defendant Dawys Lawrence husbandman 818901 818901 Dawys, Lawrence, of Ingulby, husbandman 4
5101936 2386988 2386988 defendant Laurenson John, senior husbandman 818901 818901 Laurenson, John, senior, of Ingulby, husbandman 5
5101937 2386988 2386988 defendant Laurenson John, junior yeoman 846550 846550 Laurenson, John, junior, of Formwerk, yeoman 6

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