Common Department for Education Analysis Tasks


[Up] [Top]

Documentation for package ‘dfeR’ version 2.0.0

Help Pages

air_install Air Install
air_style Air - style code in scripts
check_databricks_odbc Check Databricks ODBC connection variables
check_gitconfig_location Check the location of the global .gitconfig file
check_github_pat Check GITHUB_PAT setting
check_git_sslverify Check Git sslverify setting
check_proxy_settings Check proxy settings
check_renv_dl_file_method Check RENV_DOWNLOAD_FILE_METHOD system variable
check_renv_download_method Check renv download method
check_renv_rprof_location Check the location of .Renviron and .Rprofile
check_rtools Check for an RTools / make toolchain
comma_sep Comma separate
countries Lookup for valid country names and codes
create_project Creates a pre-populated project for DfE R
diagnostic_test Diagnostic testing
fetch Fetch Westminster parliamentary constituencies
fetch_countries Fetch countries
fetch_lads Fetch local authority districts
fetch_las Fetch local authorities
fetch_lsips Fetch Local Skills Improvement Plan (LSIP) areas lookup
fetch_mayoral Fetch mayoral combined authorities
fetch_mp_lookup Fetch Westminster constituency to MP lookup
fetch_pcons Fetch Westminster parliamentary constituencies
fetch_regions Fetch regions
fetch_wards Fetch wards
format_ay Format academic year
format_ay_reverse Undo academic year formatting
format_fy Format financial year
format_fy_reverse Undo financial year formatting
geog_time_identifiers Potential names for geography and time columns
geo_hierarchy Geography hierarchy lookup
get_clean_sql Get a cleaned SQL script into R
get_ons_api_data Fetch ONS Open Geography API data
lsip_lad Local Skills Improvement Plan (LSIP) areas to Local Authority District (LAD) Lookup
ons_geog_shorthands Lookup for ONS geography columns shorthands
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
regions Lookup for valid region names and codes
round_five_up Round five up
toggle_message Controllable console messages
write_df_to_delta Write a Data Frame to Delta Lake with COPY INTO
z_replace Replaces 'NA' values in tables