Local authority RUC distance

ruc_distance.xlsx

Version: 1.0.0

Return to data package page.


Integrating with code

Using Python

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="local-authority-similarity",
            package_name="ruc_distance",
            version_name="1.0.0",
            file_name="ruc_distance.xlsx",
        )
        
        
        # get a pandas dataframe
        df = get_dataset_df(
            repo_name="local-authority-similarity",
            package_name="ruc_distance",
            version_name="1.0.0",
            file_name="ruc_distance.xlsx",
        )
        
      

You can also use this package as a command-line tool:


        mysoc-dataset download \
        --repo local-authority-similarity \
        --package ruc_distance \
        --version 1.0.0 \
        --file ruc_distance.xlsx
      

Use mysoc-dataset --help for all options.


Can you help us with funding by telling us more about yourself?