home / cp40x

names

7 rows where case_id = 2420780

✎ 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
5217249 2420780 2420780 plaintiff Everley Richard mercer 585869 585869 Everley, Richard, of London, mercer 0
5217250 2420780 2420780 plaintiff Faukys John clerk   Faukys, John, clerk 1
5217251 2420780 2420780 defendant Hewester Robert barber 589149 589149 Hewester, Robert, of Derteford, Kent, barber 0
5217252 2420780 2420780 defendant Grenewode Thomas skinner 588791 588791 Grenewode, Thomas, of Derteford, skinner 1
5217253 2420780 2420780 defendant Johnson Alexander barber 590478 590478 Johnson, Alexander, of Sandwich, Kent, barber 2
5217254 2420780 2420780 defendant Browenyng Richard chapman 608196 608196 Browenyng, Richard, of Wynchelse, Sussex, chapman 3
5217255 2420780 2420780 defendant Penvoule John chapman 772038 772038 Penvoule, John, of Walderne, Sussex, chapman 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 13.83ms