home / cp40x

names

8 rows where case_id = 1910223

✎ 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
3649462 1910223 1910223 plaintiff Poyntz Robert knight   Poyntz, Robert, knight 0
3649463 1910223 1910223 plaintiff Poyntz Anthony knight   Poyntz, Anthony, knight 1
3649464 1910223 1910223 plaintiff David John     David, John 2
3649465 1910223 1910223 plaintiff Trelley Thomas     Trelley, Thomas 3
3649466 1910223 1910223 plaintiff Austyn William     Austyn, William 4
3649467 1910223 1910223 plaintiff Bery William     Bery, William 5
3649468 1910223 1910223 defendant Twysyll George gent 602312 602312 Twysyll, George, of Stanley Regis, gent 0
3649469 1910223 1910223 defendant Gyes Margaret widow 602312 602312 Gyes, Margaret, of Stanley Regis, widow 1

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.621ms