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="voting-data",
package_name="commons_votes",
version_name="latest",
file_name="commons_votes.json",)# get a pandas dataframe
df = get_dataset_df(
repo_name="voting-data",
package_name="commons_votes",
version_name="latest",
file_name="commons_votes.json",)