Install the mysoc-dataset package.
You can then use the
following code to get this file.
from mysoc_dataset import get_dataset_url, get_dataset_df
# get the url of dataset
url = get_dataset_url(
repo_name="uk_local_authority_names_and_codes",
package_name="uk_la_past_current",
version_name="latest",
file_name="lookup_gss_to_registry.csv",)# get a pandas dataframe
df = get_dataset_df(
repo_name="uk_local_authority_names_and_codes",
package_name="uk_la_past_current",
version_name="latest",
file_name="lookup_gss_to_registry.csv",)