home / cp40x

names

8 rows where case_id = 2220871

✎ 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
4565833 2220871 2220871 plaintiff Spark William tailor 585869 585869 Spark, William, of London, tailor 0
4565834 2220871 2220871 defendant Brynkele Thomas tailor 585869 585869 Brynkele, Thomas, of London, tailor 0
4565835 2220871 2220871 defendant Mowet Thomas   590032 590032 Mowet, Thomas, of Kent 1
4565836 2220871 2220871 defendant Cristofre Thomas formerly staying with John Cristofre, knight   Cristofre, Thomas, formerly staying with John Cristofre, knight 2
4565837 2220871 2220871 defendant Martyndale John   611755 611755 Martyndale, John, of Surrey 3
4565838 2220871 2220871 defendant Haloughton John brewer 585869 585869 Haloughton, John, of London, brewer 4
4565839 2220871 2220871 defendant Hore John fishmonger 585869 585869 Hore, John, of London, fishmonger 5
4565840 2220871 2220871 defendant Neweport William   611755 611755 Neweport, William, of Surrey 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 18.352ms