home / cp40x

names

9 rows where case_id = 2380065

✎ 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
5078497 2380065 2380065 plaintiff Broun John     Broun, John 0
5078498 2380065 2380065 defendant Donnold John yeoman 663992 663992 Donnold, John, of Colne, Hunts, yeoman 0
5078499 2380065 2380065 defendant Yon John husbandman 644453 644453 Yon, John, of Colne, husbandman 1
5078500 2380065 2380065 defendant Preston Thomas husbandman 644453 644453 Preston, Thomas, of Colne, husbandman 2
5078501 2380065 2380065 defendant Pidle Robert husbandman 644453 644453 Pidle, Robert, of Colne, husbandman 3
5078502 2380065 2380065 defendant Hert John husbandman 644453 644453 Hert, John, of Colne, husbandman 4
5078503 2380065 2380065 defendant Yon Robert husbandman 644453 644453 Yon, Robert, of Colne, husbandman 5
5078504 2380065 2380065 defendant Sampson Roger husbandman 644453 644453 Sampson, Roger, of Colne, husbandman 6
5078505 2380065 2380065 defendant Sampson William husbandman 644453 644453 Sampson, William, of Colne, husbandman 7

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