Learn R Programming

Rlinkedin (version 0.2)

getCompany: Retrieve Company Profile Information

Description

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

Usage

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

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.

Details

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

See Also

searchCompanies

Examples

Run this code
## 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)

Run the code above in your browser using DataLab