get.companies: Wrapper for the get: companies method of the open corporate...

Description Usage Arguments Note Examples

Description

Wrapper for the get: companies method of the open corporate API

Usage

1
get.companies(term, nb.page = 20, token = NULL, country = NULL)

Arguments

term

Term to query on the open corporate API

nb.page

Number of pages to query. Without token, could be up to 20 and no more than 100 a day.

token

Token for the owner of an opencorporate account

country

List or vector of countries to query.

Note

The returned object is a list of two data.table if the data.table package is attached. Otherwise, it is a list of two data.frame. Here, using the data.table package speed up the script. More on the API documentation: https://api.opencorporates.com/documentation/API-Reference#account_status

Examples

1
  get.companies('gold holding', nb.page = 2)

YvesCR/Ropencorporate documentation built on May 10, 2019, 1:54 a.m.