README.md

companieshr

A R Package API wrapper for Companies House API

Currently the package offers easy access to 4 Companies House API end-points returning data-frames as a result. The end-points are:

More end-points will be added soon. Access the link of the end-points above for extra information about each individually.

Authentication

To generate one please go to https://developer.companieshouse.gov.uk/api/docs/index/gettingStarted/apikey_authorisation.html and follow the instructions.

Example:

companies_profile = companieshr::companies_house_collect(companies = head(companieshr::companies, 10),
                                                         api_end_point = "company_profile", 
                                                         auth_api_key = "your_key",
                                                         time_to_rest = 3, 
                                                         join = FALSE, 
                                                         verbose = TRUE
                                                        )

Arguments

Output

A list with two values is returned:



joaocunha1991/companieshr documentation built on Feb. 8, 2020, 10:31 a.m.