Skip to contents

All functions

add_contract_to_event()
Add Contract Information to Event Records
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
calculate_date_intervals()
Calculate time intervals between reference dates
check_orphan_id()
Detect Orphan Records Between Parent and Child Modules
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
compare_names_qc()
Compare the contents of two character vectors
compare_to_dictionary()
Compare Dataset Variable Names Against a Dictionary
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_cross_section()
Compute Cross-Section Summary Table
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_growth()
Compute Growth Rate Summary Table
compute_hrmreport_stats()
Compute Core HRMIS Analytical Tables
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_qualitycontrol()
Compute Comprehensive Quality Control Checks for Harmonized HRMIS Data
compute_quantile()
Function to compute quantiles of a measure column within groups and reference dates.
compute_time_trend()
Compute time trend
compute_volatility()
Compute Volatility Measures Over Time
compute_wagebill()
Compute wage bill aggregates with optional macro-fiscal shares
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_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_value_panel()
Deduplicate and disambiguate an attribute using both lag and lead values
dedup_values()
Deduplicate values within grouped data
deflate_to_real()
Deflate a nominal LCU column to real values
detect_career_transitions()
Detect Career Transitions Based on Contract Attributes
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_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
flag_outlier()
Flag outliers based on the IQR rule
flatten_volatility()
Flatten a nested volatility list into a single labelled data.table
generate_hr_report()
Generate Standard HR Analytics Report
generate_qc_report()
Generate Quality Control Report for HR Data
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
personnel_rules
Personnel Validation Rules
pivot_data360()
Pivot Data360 dataset to wide format
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
social_sustainability
Social Sustainability Global Database
validate_data()
Validate Data Quality Using Rule-Based Framework
wwbi
Worldwide Bureaucracy Indicators