An open API service indexing awesome lists of open source software.

https://github.com/bbc-data-unit/trump-petition

Trump petition: Areas most opposed to US President's visit
https://github.com/bbc-data-unit/trump-petition

petitions politics scraping

Last synced: 4 months ago
JSON representation

Trump petition: Areas most opposed to US President's visit

Awesome Lists containing this project

README

        

# Trump petition: Areas most opposed to US President's visit

![](http://ichef.bbci.co.uk/news/624/cpsprodpb/15AC0/production/_93886788_chart_trumppetition_birmingham-1.png "Biggest support for preventing Trump state visit")

In January 2017 **Dan Wainwright** [reported on the areas of the UK where most people had signed a petition against US President's visit to the country](http://www.bbc.co.uk/news/uk-england-38796357). This was done through analysing data on the petition page.

## Data

* The data is published on [the petition page](https://petition.parliament.uk/petitions/171928) [as a JSON file](https://petition.parliament.uk/petitions/171928.json)
* A [map of the signatures is also available on PetitionMap](http://petitionmap.unboxedconsulting.com/?petition=171928), this is generated from the same JSON data
* CSV: [Breakdown by area, snapshot 1000 January 30 2017](https://github.com/BBC-Data-Unit/trump-petition/blob/master/trumppetition_areas_snapshot30jan_1000.csv.csv)
* CSV: [Breakdown by country, snapshot 1000 January 30 2017](https://github.com/BBC-Data-Unit/trump-petition/blob/master/trumppetition_countries_snapshot30jan_1000.csv)

## Visualisation

* Bar chart: Biggest support for preventing Trump state visit
* Bar chart: Areas with the fewest signatures on Trump petition
* Infographic: How Trump petition compares
* Bar chart: Where the most signatures from overseas came from

## Related repositories

We followed up this story with [a look at the 10 most popular petitions](http://www.bbc.co.uk/news/uk-england-38918569). You can [find the repository for that story here](https://github.com/BBC-Data-Unit/petitions)