home / cp40x

names

8 rows where case_id = 2535481

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5601863 2535481 2535481 plaintiff Lovell Thomas knight   Lovell, Thomas, knight 0
5601864 2535481 2535481 plaintiff Ernley John     Ernley, John 1
5601865 2535481 2535481 plaintiff Lucas Thomas esq   Lucas, Thomas, esq 2
5601866 2535481 2535481 defendant Wadham Nicholas   598778 598778 Wadham, Nicholas, of Myryfeld, Soms, knight 0
5601867 2535481 2535481 defendant Leigh John   610680 610680 Leigh, John, of Isle of Wight, knight 1
5601868 2535481 2535481 defendant Wadham Edward esq 904736 904736 Wadham, Edward, of Tormorton, Glos, esq 2
5601869 2535481 2535481 defendant Stubbe Walter gent 585869 585869 Stubbe, Walter, of London, gent 3
5601870 2535481 2535481 defendant at Mere Henry scrivener 585936 585936 at Mere, Henry, of Norwich, scrivener 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 16.138ms