home / cp40x

names

9 rows where case_id = 2377066

✎ 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
5068455 2377066 2377066 plaintiff Plesyngton Henry knight   Plesyngton, Henry, knight, executors of 0
5068456 2377066 2377066 plaintiff Anderby William     (Anderby, William 1
5068457 2377066 2377066 plaintiff Galewey Richard     Galewey, Richard 2
5068458 2377066 2377066 defendant Couper William, senior husbandman 608963 608963 Couper, William, senior, of Burley, husbandman 0
5068459 2377066 2377066 defendant Couper Willia, junior husbandman 608963 608963 Couper, Willia, junior, of Burley, husbandman 1
5068460 2377066 2377066 defendant Lane William husbandman 608963 608963 Lane, William, of Burley, husbandman 2
5068461 2377066 2377066 defendant Wryght John husbandman 608963 608963 Wryght, John, of Burley, husbandman 3
5068462 2377066 2377066 defendant Dykeman Robert husbandman 608963 608963 Dykeman, Robert, of Burley, husbandman 4
5068463 2377066 2377066 defendant Coulle Nicholas husbandman 608963 608963 Coulle, Nicholas, of Burley, husbandman 5

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