Skip to contents

All functions

add_contract_to_event()
Add contract information to event records
apply_baseline_index()
Apply baseline index to a trend summary
bra_hrmis
Brazilian Public Employee Payroll Data
bra_hrmis_allowance
Brazil HRMIS Allowance Module
bra_hrmis_contract
HRMIS Contract Dataset
bra_hrmis_est
HRMIS Establishment Dataset
bra_hrmis_personnel
HRMIS Personnel Dataset
classify_personnel_event()
Classify personnel movement events
classify_text()
Classify free-text items against a user-supplied taxonomy using TF-IDF
clean_hr_data()
Apply Standard HR data cleaning pipeline
cofog_taxonomy
COFOG Functional Classification Taxonomy
complete_columns()
Complete columns in a dataframe
complete_dates()
Complete panel data by identifier and reference dates
compute_baseline_index()
Compute index values relative to base year
compute_compression_ratio()
Function to compute the compression ratio
compute_coverage()
Compute coverage of non-missing values in a dataset.
compute_cross_section()
Compute cross-section summary table
compute_cross_section_summary()
Compute cross-section summary
compute_decile()
Compute Deciles of a Measure
compute_density()
Function to compute the distribution function of a variable
compute_fastchange()
Calculate year-over-year growth for a numeric column
compute_fastshare()
Compute ratio indicators of summarized variables over macro indicators
compute_fastsummary()
Compute Fast Summary Statistics by Group
compute_global_consistency()
Compute the proportion of consistent records and values in a data frame.
compute_global_coverage()
a function to compute the proportion of missing values in a data frame
compute_growth()
Compute growth rate summary table
compute_growth_decomposition()
Compute growth decomposition of wagebill
compute_growth_summary()
Compute growth rate summary
compute_movement_cost()
Function to compute the total cost associated with personnel movements
compute_pension_ratio()
Compute ratio of last salary to first pension for retired workers
compute_quantile()
Function to compute quantiles of a measure column within groups and reference dates
compute_record_consistency()
Compute the proportion of consistent records in a data frame
compute_service_table()
Compute an actuarial service table from a personnel panel
compute_time_trend()
Compute time trend
compute_trend_summary()
Compute trend summary
compute_value_consistency()
Compute the proportion of consistent values in a data frame
compute_wage_decomposition()
Decompose aggregate average-compensation growth into within, between, cross, entry, and exit effects (Foster-Haltiwanger-Krizan style)
compute_wagebill()
Compute wage bill aggregates with optional macro-fiscal shares
compute_workforce_movement()
Function to compute workforce movement for hires, fires, retirement, or turnover
contract_rules
Contract Validation Rules
convert_constant_ppp()
Convert nominal wages to real PPP-adjusted wages (2021 base year)
convert_data()
Convert data to match original class
count_entity()
Count unique entities by group
count_unique()
Count unique non-missing values
countryclass
World Bank Country and Lending Groups
cp_ratio()
Compute a compression ratio between two percentiles
cv()
Compute the coefficient of variation (CV)
dedup_values()
Deduplicate values within grouped data
deflate_to_real()
Deflate a nominal LCU column to real values
detect_career_transition()
Detect career transitions
detect_inconsistent_cols()
Detect inconsistent columns in a data frame
detect_personnel_event()
Detect Personnel Events
detect_reallocation()
Detect personnel reallocation events
detect_retirement()
Detect personnel retirement events
dictionary
Harmonization Dictionary for Payroll and HRMIS Data
enterprise_surveys
World Bank Enterprise Surveys
estimate_decrement_rates()
Estimate empirical decrement rates from a personnel panel
estimate_exit_rates()
Estimate historical non-retirement exit rates from panel data
fastcount()
Fast counting via dtplyr
fastprop()
Compute group-wise proportions from counts
find_duplicate_ids()
Find duplicate identifiers in a data frame
find_inconsistent_colnames()
Identify inconsistent column names across data frames
fix_invalid_birthdates()
Fix invalid birth dates
fix_invalid_dates()
Fix invalid reference dates
fix_negative_salaries()
Fix negative salary values
fix_retirement_age()
Flag or adjust over-retirement-age workers
fix_salary_components()
Fix salary component inconsistencies
fix_underage_workers()
Flag or remove underage workers
fix_working_hours()
Fix invalid working hours
generate_hr_report()
Generate Standard HR Analytics Report
get_data360_api()
This function retrieves data from the Data360 API.
get_metadata360()
Retrieve dataset metadata from the World Bank Data360 API
ggplot_coef()
Plot model coefficients with confidence intervals
ggplot_point_line()
Plot grouped line chart with labeled points
ggplot_segment()
Plot segments overlaid with points, ordered by median
guess_date_frequency()
Guess the reporting frequency of the reference dates
harmonize_columns()
Harmonize column names based on a dictionary
isco
International Standard Classification of Occupations (ISCO-08)
macro_indicators
Macro-level World Bank WDI indicators
model_wage()
Fit a wage model with fixed effects
personnel_rules
Personnel Validation Rules
pivot_data360()
Pivot Data360 dataset to wide format
plot_bar_growth()
Plot growth rates by group
plot_bar_total()
Plot totals by group
plot_compression_ratio()
Plot compression ratio
plot_consistency_heatmap()
Plot consistency heatmap by group
plot_consistency_trend()
Plot consistency over time
plot_coverage_bar()
Plot coverage by group (coloured bar chart)
plot_coverage_heatmap()
Plot coverage heatmap by group
plot_coverage_trend()
Plot Coverage Over Time
plot_decile()
Plot decile summary
plot_histogram()
Plot density as percentage share
plot_model_wage()
Plot a wage model fit
plot_model_wage_fes()
Plot fixed effects from a wage model fit
plot_movement()
Plot personnel movement over time
plot_movement_cost()
Plot movement cost
plot_segment()
Create a segment plot with jittered points
plot_trend()
Plot time trend
project_retirement()
Project Retirement Dates
remove_duplicate_contracts()
Remove duplicate contract records
remove_duplicate_personnel()
Remove duplicate personnel records
rescale_baseline()
Rescale to baseline index
sample_group()
Sample groups and return all rows for those groups
scale_plot_height()
Plot Height for a Grouped Bar Chart
smooth_decrement_rates()
Graduate (smooth and gap-fill) empirical decrement rates
social_sustainability
Social Sustainability Global Database
validate_data()
Validate Data Quality Using Rule-Based Framework
wwbi
Worldwide Bureaucracy Indicators