Public
Edited
Apr 28
1 fork
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
table(other_regressions, other_regression_options)
Insert cell
Insert cell
Insert cell
Insert cell
library_positions = position_list.filter((d) => d.match(/LIBR/))
Insert cell
viewof library_position_tbl = Inputs.table(
library_positions.map((d) => ({ position: d}))
)
Insert cell
library_position_sample = [
"LIBRARIAN",
"EXPERT LIBRARIAN",
"SPECIALIST LIBRARIAN",
"SR LIBRARIAN OR LIBRARY DIRECTOR",
"SENIOR LIBRARIAN"
]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
pay_gap_classifications = filtered_positions; //it_classifications
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Inputs.table(senior_application_developers)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Inputs.table(it_directors)
Insert cell
Insert cell
library = matched_data.filter(
(row) =>
row.fiscal_year == data_last_year &&
//["ASSOCIATE UNIVERSITY LIBRARIAN"].includes(row.position)
row.position.includes("LIBRAR")
)
Insert cell
Inputs.table(library, { format: { base_salary: (x) => parseFloat(x) } })
Insert cell
baurs = matched_data.filter(row => {return row.name.includes('BAUR')})
Insert cell
position_list.filter((d) => d.match(/app/i))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
it_pay_gaps = {
return it_classifications.map((d) => ({
position: d,
pay_gap: positions[d][data_last_year].male_female_pay_gap,
sds: positions[d][data_last_year].male_female_gap_sds
}));
}
Insert cell
it_out_of_sd = {
let all_rows = [];
it_classifications.forEach((d) => {
positions[d][data_last_year].male_outside_of_one_sd.forEach((m) =>
all_rows.push({
position: d,
gender: "m",
salary: m,
average: positions[d][data_last_year].average_salary
})
);
positions[d][data_last_year].female_outside_of_one_sd.forEach((f) =>
all_rows.push({
position: d,
gender: "f",
salary: f,
average: positions[d][data_last_year].average_salary
})
);
});

return all_rows;
}
Insert cell
positions["SENIOR SYSTEMS ARCHITECT"]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md`## sandbox`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
generate_diff_plot(filtered_positions, 'compa', 'Compensation Ratio','position', filtered_positions.length).render()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
find_person = (name) => {
return unique_matched_names.filter((p) => p.match(name));
}
Insert cell
Insert cell
find_person("SODERDAHL, PAUL")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more