Commons Written Questions Interests

written_questions_interests.csv

Version: 0.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="uk-parl-written-questions",
            package_name="commons_written_questions_interests",
            version_name="0.1",
            file_name="written_questions_interests.csv",
        )
        
        
        # get a pandas dataframe
        df = get_dataset_df(
            repo_name="uk-parl-written-questions",
            package_name="commons_written_questions_interests",
            version_name="0.1",
            file_name="written_questions_interests.csv",
        )
        
      

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


        mysoc-dataset download \
        --repo uk-parl-written-questions \
        --package commons_written_questions_interests \
        --version 0.1 \
        --file written_questions_interests.csv
      

Use mysoc-dataset --help for all options.


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