get_scot_id | R Documentation |
Get data from the Scottish Open Data Platform
get_scot_id( type = c("addresses", "addresstypes", "allowancesgrouptransactions", "allowancetransactions", "bills", "billstages", "billstagetypes", "billtypes", "committeeroles", "committees", "committeetypelinks", "constituencies", "crosspartygrouproles", "crosspartygroups", "departments", "directorates", "directoratetypes", "electionreasondates", "electionstatuses", "emailaddresses", "emailaddresstypes", "events", "genders", "governmentroles", "legislationdetails", "membercrosspartyroles", "memberelectionconstituencystatuses", "memberelectionregionstatuses", "membergovernmentroles", "memberparties", "memberpartyroles", "members", "motionsquestionsanswersmotions", "parties", "partyroles", "personcommitteeroles", "petitioncountries", "petitiondiscussions", "petitiononbehalfofs", "petitions", "petitionsignatures", "petitionstatuses", "petitionsubjectcategories", "regions", "registerofinterest", "externalresearches", "sessions", "telephones", "telephonetypes", "websites", "websitetypes"), id = id )
type |
API to call |
id |
Unique ID for data type |
Scottish Open Data
## Not run: get_scot(type = "addresses", id = 1) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.