library(tidyverse)── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr 1.1.4 ✔ readr 2.1.6
✔ forcats 1.0.1 ✔ stringr 1.6.0
✔ ggplot2 4.0.2 ✔ tibble 3.3.1
✔ lubridate 1.9.4 ✔ tidyr 1.3.2
✔ purrr 1.2.1
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(plotly)
Attaching package: 'plotly'
The following object is masked from 'package:ggplot2':
last_plot
The following object is masked from 'package:stats':
filter
The following object is masked from 'package:graphics':
layout
setwd("C:/Users/SwagD/Downloads/Data 110")
salaries <- read_csv("Employee_Salaries_-_2020_20260507.csv")Rows: 9958 Columns: 8
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (8): Department, Department Name, Division, Gender, Base Salary, 2020 Ov...
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
salaries# A tibble: 9,958 × 8
Department `Department Name` Division Gender `Base Salary`
<chr> <chr> <chr> <chr> <chr>
1 ABS Alcohol Beverage Services Wholesale Administ… F $78,902
2 ABS Alcohol Beverage Services Administrative Ser… F $35,926
3 ABS Alcohol Beverage Services Administration M $167,345
4 ABS Alcohol Beverage Services Wholesale Operatio… F $90,848
5 ABS Alcohol Beverage Services Administration F $78,902
6 ABS Alcohol Beverage Services Marketing F $109,761
7 ABS Alcohol Beverage Services Beer Delivery Oper… M $68,575
8 ABS Alcohol Beverage Services Liquor and Wine De… M $50,604.28
9 ABS Alcohol Beverage Services Beer Delivery Oper… M $50,865.5
10 ABS Alcohol Beverage Services Liquor and Wine De… M $49,359.65
# ℹ 9,948 more rows
# ℹ 3 more variables: `2020 Overtime Pay` <chr>, `2020 Longevity Pay` <chr>,
# Grade <chr>