home / cp40x

names

5 rows where place_id = 607896

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3671336 1917011 1917011 defendant Hunter William yeoman 607896 607896 Hunter, William, of Skipton, Craven, yeoman 0
3693798 1924258 1924258 defendant Barowe Robert shoemaker 607896 607896 Barowe, Robert, of Skipton, Craven, shoemaker 0
3765456 1946861 1946861 defendant Bell Edward laborer 607896 607896 Bell, Edward, of Skipton, Craven, laborer 1
5583772 2529999 2529999 defendant Kytchyll Robert chapman 607896 607896 Kytchyll, Robert, of Skipton, Craven, chapman 1
5583783 2530003 2530003 defendant Kytchyn Robert chapman 607896 607896 Kytchyn, Robert, of Skipton, Craven, chapman 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 18.573ms