Online documentation for my R packages. Click on the names for links to the full documentation.

Packages:

guardianapi

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2019-06-23

Access to ‘The Guardian’ newspaper’s open API https://open-platform.theguardian.com/, containing all articles published in ‘The Guardian’ from 1999 to the present, including article text, metadata, tags and contributor information. An API key and registration is required.

hansard

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2019-11-13

Provides functions to download data from the http://www.data.parliament.uk/ APIs. Because of the structure of the API, there is a named function for each type of available data for ease of use, as well as some functions designed to retrieve specific pieces of commonly used data. Functions for each new API will be added as and when they become available.

nomisr

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2021-01-23

Access UK official statistics from the ‘Nomis’ database. ‘Nomis’ includes data from the Census, the Labour Force Survey, DWP benefit statistics and other economic and demographic data from the Office for National Statistics, based around statistical geographies. See https://www.nomisweb.co.uk/api/v01/help for full API documentation.

mnis

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2021-04-03

An API package for the Members’ Name Information Service operated by the UK parliament. Documentation for the API itself can be found here: http://data.parliament.uk/membersdataplatform/default.aspx.

ukpolice

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2020-08-03

Downloads data from the ‘UK Police’ public data API, the full docs of which are available at https://data.police.uk/docs/. Includes data on police forces and police force areas, crime reports, and the use of stop-and-search powers.

parlitools

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2020-01-12

Provides various tools for analysing UK political data, including election result datasets, hexagonal cartograms and functions to retrieve council member data.

refuge

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2021-01-11

Access the ‘Refuge’ API, a web-application for locating trans and intersex-friendly restrooms, including unisex and accessible restrooms. Includes data on the location of restrooms, along with directions, comments, user ratings and amenities. Coverage is global, but data is most comprehensive in the United States. See https://www.refugerestrooms.org/api/docs/ for full API documentation.

cqcr

CRAN_Status_BadgeLicense: GPL v3GitHub tag DOI Published to CRAN: 2019-10-07

Access data from the ‘Care Quality Commission’, the health and adult social care regulator for England. The ‘Care Quality Commission’ operates an API https://www.cqc.org.uk/about-us/transparency/using-cqc-data#api, with data available under the Open Government License. Data includes information on service providers, locations such as hospitals, care homes and medical clinics, and ratings and inspection reports.

fixerapi

CRAN_Status_BadgelicenseGitHub tag DOI Published to CRAN: 2018-08-23

An R client for the “fixer.io” currency conversion and exchange rate API. The API requires registration and some features are only available on paid accounts. The full API documentation is available at https://fixer.io/documentation.

threesixtygiving

CRAN_Status_BadgeLicense: GPL v3GitHub tag DOI Published to CRAN: 2020-12-02

Access open data from https://www.threesixtygiving.org, a database of charitable grant giving in the UK operated by ‘360Giving’. The package provides functions to search and retrieve data on charitable grant giving, and process that data into tidy formats. It relies on the ‘360Giving’ data standard, described at https://standard.threesixtygiving.org/.