Learn R Programming

stats19 (version 3.1.0)

format_casualties: Format STATS19 casualties

Description

Format STATS19 casualties

Usage

format_casualties(x)

Arguments

x

Data frame created with read_casualties()

Details

This function formats raw STATS19 data

Examples

Run this code
# \donttest{
if(curl::has_internet()) {
dl_stats19(year = 2022, type = "casualty")
x = read_casualties(year = 2022)
casualties = format_casualties(x)
}
# }

Run the code above in your browser using DataLab