getCompany: Retrieve Company Profile Information

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/getCompany.R

Description

getCompany retrieves company profiles using a company Id, a universal name, or an email domain.

Usage

1
2
getCompany(token, universal_name = NULL, email_domain = NULL,
  company_id = NULL, partner = 0)

Arguments

token

Authorization token.

universal_name

LinkedIn universal company name. This is the exact name seen at the end of the URL on the company page on linkedin.com.

email_domain

The email domain used by the company.

company_id

LinkedIn company ID.

partner

Indicate whether you belong to the Partnership Program. Values: 0 or 1

Details

The 'universal name' needs to be the exact name seen at the end of the URL on the company page on linkedin.com.

Value

Returns company profile data, such as LinkedIn ID, name, universal-name, email-domains, company-type, ticker, website-url, industries, status, twitter handle, employee-count-range, specialties, locations, description, founded-year, and number of followers.

The output when specifying the universal_name or company_id will be in a list, whereas the output when specifying the email_domain will be a dataframe.

Author(s)

Michael Piccirilli [email protected]

See Also

searchCompanies

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

company.name <- getCompany(token=in.auth, universal_name="Facebook")

company.email <- getCompany(token=in.auth, email_domain = "columbia.edu")

# Main Columbia Name:
company.id <- getCompany(token=in.auth, company_id = company.email$company_id[14])


## End(Not run)

Rlinkedin documentation built on May 29, 2017, 3:06 p.m.