home / cp40x

names

9 rows where case_id = 2345120

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4960534 2345120 2345120 plaintiff Beauchamp Henry Earl of Warwick   Beauchamp, Henry, Earl of Warwick 0
4960535 2345120 2345120 plaintiff Talbot John, senior     Talbot, John, senior 1
4960536 2345120 2345120 plaintiff Hungerford Robert knight   Hungerford, Robert, knight 2
4960537 2345120 2345120 plaintiff Beauchamp William knight   Beauchamp, William, knight 3
4960538 2345120 2345120 plaintiff Drewe Thomas     Drewe, Thomas 4
4960539 2345120 2345120 plaintiff Warneford Richard     Warneford, Richard 5
4960540 2345120 2345120 defendant Bacheler Robert laborer 610111 610111 Bacheler, Robert, of Hoke, laborer 0
4960541 2345120 2345120 defendant Broun Thomas husbandman 610111 610111 Broun, Thomas, of Hoke, husbandman 1
4960542 2345120 2345120 defendant Burford John husbandman 657888 657888 Burford, John, of Merdon, husbandman 2

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 14.648ms