fromJSONtoDF: fromJSONtoDF

Description Usage Arguments Value Examples

View source: R/fromJSONtoDF.R

Description

This function is simplfies the conversion of the JSON response from the companies (base) API end-point into a data-frame format.

Usage

1
fromJSONtoDF(json_list, api_end_point, company_number)

Arguments

json_list

A list representing the JSON response from the companies/ (base) API end-point.

api_end_point

A character value describing which end-point to call.

company_number

Company number

Value

A dataframe with a single row response.

Examples

1
2
3
4
## Not run: 
fromJSONtoDF(json_list)

## End(Not run)

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