home / cp40x

names

10 rows where case_id = 2245005

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4646373 2245005 2245005 plaintiff Pountfreyt William draper 586067 586067 Pountfreyt, William, of York, draper 0
4646374 2245005 2245005 defendant Chirden Thomas   605984 605984 Chirden, Thomas, of Newcastle upon Tyne 0
4646375 2245005 2245005 defendant Colyer Robert butcher   Colyer, Robert, butcher 1
4646376 2245005 2245005 defendant Bretton John     Bretton, John 2
4646377 2245005 2245005 defendant Taillour John   777528 777528 Taillour, John, of Fanfosse 3
4646378 2245005 2245005 defendant Bunby William tailor   Bunby, William, tailor 4
4646379 2245005 2245005 defendant Bell John   594933 594933 Bell, John, of Thresk 5
4646380 2245005 2245005 defendant Rasebek Thomas     Rasebek, Thomas 6
4646381 2245005 2245005 defendant Ker Richard   775742 775742 Ker, Richard, of Croxdale 7
4646382 2245005 2245005 defendant Sturgeys William   586435 586435 Sturgeys, William, of Leicester 8

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