Constituencies to Local Authorities(2023)
constituencies_to_local_authorities.json
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="climate_mrp_polling",
package_name="constituencies_to_local_authorities",
version_name="0.1.0",
file_name="constituencies_to_local_authorities.json",
)
# get a pandas dataframe
df = get_dataset_df(
repo_name="climate_mrp_polling",
package_name="constituencies_to_local_authorities",
version_name="0.1.0",
file_name="constituencies_to_local_authorities.json",
)
You can also use this package as a command-line
tool:
mysoc-dataset download \
--repo climate_mrp_polling \
--package constituencies_to_local_authorities \
--version 0.1.0 \
--file constituencies_to_local_authorities.json
Use mysoc-dataset --help
for all options.
Subscribe to data updates
This mailing list will keep you up to date with new dataset releases, or with important updates to existing
datasets.
Can you help us with funding by telling us more about yourself?