home / cp40x

names

13 rows where case_id = 2425147

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5232702 2425147 2425147 plaintiff Burne John clerk   Burne, John, clerk 0
5232703 2425147 2425147 defendant Candlend John yeoman 600786 600786 Candlend, John, of Heton, yeoman 0
5232704 2425147 2425147 defendant Candlend George     Candlend, George 1
5232705 2425147 2425147 defendant Milne Robert     Milne, Robert 2
5232706 2425147 2425147 defendant Walker William     Walker, William 3
5232707 2425147 2425147 defendant Carswell Thomas     Carswell, Thomas 4
5232708 2425147 2425147 defendant Andrewysson John     Andrewysson, John 5
5232709 2425147 2425147 defendant Shepherd Richard     Shepherd, Richard 6
5232710 2425147 2425147 defendant Borell William     Borell, William 7
5232711 2425147 2425147 defendant Lordiman Alexander     Lordiman, Alexander 8
5232712 2425147 2425147 defendant Clerk John     Clerk, John 9
5232713 2425147 2425147 defendant Stele Thomas     Stele, Thomas 10
5232714 2425147 2425147 defendant Tuggale Adam     Tuggale, Adam 11

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