geo_hierarchy, and associated fetch_* functions with latest 2025 lookups.pretty_num() function to add abbreviate argument giving the option to avoid displaying large numbers in millions/billions.geo_hierarchy, which supersedes wd_pcon_lad_la_rgn_ctry and adds 2025 along with mayoral columns.fetch_mayoral().check_databricks_odbc().wd_pcon_lad_la_rgn_ctry by adding three digit local authority codes (also known as old_la_codes) to the data.wd_pcon_lad_la_rgn_ctry.fetch_las() so that old_la_codes are included in the output.Fix the spacing and printing of the z_replace() warning message, updating the eesyapi URL in the README and removed extraneous package tests.
Initial CRAN release. Added lookup data geog_time_identifiers. Added z_replace() to replace NA values in tables except for ones in geography and time columns that match ones in geog_time_identifiers.
Patch to update the pretty_num() function so that the dp argument's default is 0.
Update pretty_num so that:
nsmall that allows control over the number of digits displayed after rounding.Add pretty_num_table() which uses pretty_num() to format numbers in a readable format in data frames. It has all the customization provided by pretty_num.
Patch to update the get_clean_sql() function to ignore lines starting with 'USE'.
Add the following lookup data sets into the package:
Add the following fetch_locations() functions:
Add wrapper for ONS Open Geography Portal API:
Add helper for turning messages on or off:
Update comma_sep() function to allow non-numeric values instead of throwing an error, now returns them unchanged.
Add function which creates a DfE R project:
Fix bug in get_clean_sql() where using the additional settings would lose the original SQL statement.
Add pretty_* functions for presenting pretty numbers:
Add helper function for comma separating numbers:
Add function for formatting financial years:
Add reversing functions for academic and financial years:
Add function for grabbing and cleaning a SQL script, and vignette for connecting to SQL.
Add default value to decimal place argument of round_five_up() function.
Relaunch of the package with two functions: