
Package index
-
ons_geog_shorthands - Lookup for ONS geography columns shorthands
-
geo_hierarchy - Geography hierarchy lookup
-
countries - Lookup for valid country names and codes
-
regions - Lookup for valid region names and codes
-
geog_time_identifiers - Potential names for geography and time columns
-
wd_pcon_lad_la_rgn_ctrydeprecated - Ward to Constituency to LAD to LA to Region to Country lookup
-
get_clean_sql() - Get a cleaned SQL script into R
-
check_databricks_odbc() - Check Databricks ODBC connection variables
-
fetch_pcons() - Fetch Westminster parliamentary constituencies
-
fetch_countries() - Fetch countries
-
fetch_lads() - Fetch local authority districts
-
fetch_las() - Fetch local authorities
-
fetch_mayoral() - Fetch mayoral combined authorities
-
fetch_regions() - Fetch regions
-
fetch_wards() - Fetch wards
-
pretty_filesize() - Pretty numbers into readable file size
-
pretty_num() - Prettify big numbers into a readable format
-
pretty_num_table() - Format a data frame with
dfeR::pretty_num().
-
pretty_time() - Pretty time
-
pretty_time_taken() - Calculate elapsed time between two points and present prettily
Pre-populated project
A function to create a new R project with a pre-populated folder and file structure
-
create_project() - Creates a pre-populated project for DfE R
-
format_ay() - Format academic year
-
format_ay_reverse() - Undo academic year formatting
-
format_fy() - Format financial year
-
format_fy_reverse() - Undo financial year formatting
Helpers
Functions used in other functions across the package, exported as they can also be useful in their own right
-
round_five_up() - Round five up
-
comma_sep() - Comma separate
-
get_ons_api_data() - Fetch ONS Open Geography API data
-
toggle_message() - Controllable console messages
-
z_replace() - Replaces
NAvalues in tables