getCompany {Rlinkedin} | R Documentation |
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 |
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 michael.r.piccirilli@gmail.com
See Also
Examples
## 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)