home / cp40x

names

7 rows where case_id = 2515883

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5536424 2515883 2515883 plaintiff Cape John (legal representative) 585869 585869 Cape, John, of London, stockfishmonger, administrator of 0
5536425 2515883 2515883 plaintiff Barett Thomas     Barett, Thomas 1
5536426 2515883 2515883 defendant Carpenter William husbandman 852891 852891 Carpenter, William, of Hothfeld, Kent, husbandman 0
5536427 2515883 2515883 defendant Percy Peter yeoman 613967 613967 Percy, Peter, of Scarburgh, Yorks, yeoman 1
5536428 2515883 2515883 defendant Haweset Benedict merchant 585869 585869 Haweset, Benedict, of London, merchant 2
5536429 2515883 2515883 defendant Wattys Richard yeoman 585881 585881 Wattys, Richard, of Wokyngham, Berks, yeoman 3
5536430 2515883 2515883 defendant Cowell John chapman 788859 788859 Cowell, John, of Howeden, Yorks, 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.908ms