UK House of Commons Register of Members' Financial Interests

category_10.parquet

Version: 0.1.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="parl_register_interests",
            package_name="commons_rmfi",
            version_name="0.1.0",
            file_name="category_10.parquet",
        )
        
        
        # get a pandas dataframe
        df = get_dataset_df(
            repo_name="parl_register_interests",
            package_name="commons_rmfi",
            version_name="0.1.0",
            file_name="category_10.parquet",
        )
        
      

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


        mysoc-dataset download \
        --repo parl_register_interests \
        --package commons_rmfi \
        --version 0.1.0 \
        --file category_10.parquet
      

Use mysoc-dataset --help for all options.


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