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

Description Usage Arguments Value Note Examples

Description

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

Usage

1
2
get.officers(term, nb.page = 20, token = NULL, country = NULL,
  ret.score = FALSE)

Arguments

term

Term to query on the open corporate website

nb.page

Number of pages to query. Without token, could be up to 20.

token

Token for the owner of an opencorporate account

country

List or vector of countries to query

ret.score

Return the top results by score. Otherwise, the results are returned by alphabetical order.

Value

The returned object is two data.table if the data.table package is attached. Otherwise, it is two data.frame. Here, using the data.table package speed up the script.

Note

more on the API documentation: https://api.opencorporates.com/documentation/API-Reference#account_status

Examples

1
  get.officers("Vincent de Rivaz", nb.page = 2)

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