Repo for all the code produced during internship at Point-Topic.
There are 3 main parts:
BII(Broadband Infrastructure Index)BDDI(Broadband Digital Deprivation Index) - The BII is a component of the BDDI.upc_prems- Separate study on population, households and premises data in the UPC database.
This folder contains all the queries and code to create (and eventually update) the new BII (starting in 2023) at LSOA level.
- The
BII_query_all_in_one.rtffile contains the full query to obtain all the input variables from Point-Topic's Snowflake tables in July 2023 to construct the BII. - The
build_BII.Rfile contains the code to construct the BII in R for each nation using the output .csv file from the query - Run the last 4 "write_csv" lines to obtain the four separate BII files for each nation.
This folder contains all the code to create (and evenutally update) the new BDDI (starting in 2023) for LSOAs.
- The
build_BDDI.Rfile contains the code to construct the BDDI in R for each nation - The
translate_geos_fn.ipynbfile contains the code in python to translate data with old boundaries to new 2021 boundaries, where necessary.
tbc