-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloadouts.Rd
More file actions
41 lines (40 loc) · 992 Bytes
/
loadouts.Rd
File metadata and controls
41 lines (40 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{loadouts}
\alias{loadouts}
\title{Loadouts}
\format{
This data frame contains the following columns:
\describe{
\item{\code{version}}{Country code for the version of the show}
\item{\code{season}}{The season number}
\item{\code{id}}{Survivalist ID}
\item{\code{name}}{Name of the survivalist}
\item{\code{item_number}}{Item number}
\item{\code{item_detailed}}{Detailed loadout item description}
\item{\code{item}}{Loadout item. Simplified for aggregation}
}
}
\source{
\url{https://en.wikipedia.org/wiki/Alone_(TV_series)}
}
\usage{
loadouts
}
\description{
Information on each survivalists loadout of 10 items
}
\examples{
library(dplyr)
library(ggplot2)
library(forcats)
loadouts |>
count(item) |>
mutate(item = fct_reorder(item, n, max)) |>
ggplot(aes(item, n)) +
geom_col() +
geom_text(aes(item, n + 3, label = n)) +
coord_flip()
}
\keyword{datasets}