home / cp40x

names

8 rows where case_id = 2224677

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4578197 2224677 2224677 plaintiff Choldewall Robert   585869 585869 Choldewall, Robert, of London 0
4578198 2224677 2224677 defendant Boraston William   586697 586697 Boraston, William, of Shrewsbury 0
4578199 2224677 2224677 defendant Boreway John   753644 753644 Boreway, John, of Ludelowe 1
4578200 2224677 2224677 defendant Mitford Richard   689060 689060 Mitford, Richard, of Lincolnshire 2
4578201 2224677 2224677 defendant Dawenay John     Dawenay, John 3
4578202 2224677 2224677 defendant Fulyngley Henry     Fulyngley, Henry 4
4578203 2224677 2224677 defendant Rode Andrew (legal representative)   Rode, Andrew, executor of 5
4578204 2224677 2224677 defendant Asshe Giles   615552 615552 Asshe, Giles, of Devon 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 21.162ms