Composite GB IMD Index

GB_IMD_E.csv

Version: 1

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="composite_uk_imd",
            package_name="gb_index",
            version_name="1",
            file_name="GB_IMD_E.csv",
        )
        
        
        # get a pandas dataframe
        df = get_dataset_df(
            repo_name="composite_uk_imd",
            package_name="gb_index",
            version_name="1",
            file_name="GB_IMD_E.csv",
        )
        
      

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


        mysoc-dataset download \
        --repo composite_uk_imd \
        --package gb_index \
        --version 1 \
        --file GB_IMD_E.csv
      

Use mysoc-dataset --help for all options.


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