Package 'tidytitanic'

Title: Dataframes Based on Titanic Passengers and Crew
Description: The tidytitanic package provides a version of the Titanic data tailored for people analytics demonstrations and practice. Unlike other packages such as titanic, which reproduce the Kaggle competition files with minimal preprocessing, tidytitanic combines and tidies the train and test datasets into a single unified dataset, `passengers`, facilitating exploration across the full set of individuals. It also extracts meaningful personal identifiers—such as first names, last names, and titles—from the raw Name field, enabling richer demographic analysis and grouping. The `passengers` data does not cover the crew, however. Therefore the package also provides a flat and uncounted version of the `Titanic` dataset which contains crew information for futher practice. This human-centered data package is designed to support exploratory data analysis, feature engineering, and pedagogical use cases.
Authors: Evangeline Reynolds [aut, cre]
Maintainer: Evangeline Reynolds <[email protected]>
License: MIT + file LICENSE
Version: 0.0.1
Built: 2026-07-07 08:59:11 UTC
Source: https://github.com/evamaerey/tidytitanic

Help Index


Tallied characteristics

Description

A dataset tallying frequencies of titanic passenger characteristics based on Titanic data from base R. Includes Crew

Usage

flat_titanic

Format

A data frame with 32 rows and 5 variables:

class

class (1st, 2nd, 3rd or Crew)

sex

sex of passenger

age

child or adult

survived

survival outcome of passanger

freq

tally of all in category

...

Source

R stats


Titanic test data.

Description

Titanic test data.

Usage

passengers

Format

Data frame with columns

passenger_id

Passenger ID

survived

survival status

pclass

Passenger Class

name

Name

sex

Sex

age

Age

sib_sp

Number of Siblings/Spouses Aboard

parch

Number of Parents/Children Aboard

ticket

Ticket Number

fare

Passenger Fare

cabin

Cabin

embarked

Port of Embarkation

...

Source

titanic package, https://www.kaggle.com/c/titanic/data


A dataset titanic passengers and characteristics based on Titanic data from base R. Includes Crew

Description

A dataset titanic passengers and characteristics based on Titanic data from base R. Includes Crew

Usage

tidy_titanic

Format

A data frame with 2201 rows and 5 variables:

id

an id for each passenger

class

class (1st, 2nd, 3rd or Crew)

sex

sex of passenger

age

child or adult

survived

survival outcome of passanger

...

Source

R stats