searchPeople {Rlinkedin}R Documentation

Search for People on LinkedIn

Description

searchPeople allows you to search for connections on LinkedIn. It returns most of what shows up when you do a search for people in the box at the top of the page on linkedin.com.

There are a number of parameters that allow you to conduct either a broad or focused search.

In order to use this function, you must create your own appliction and apply for the Vetted API Access here: https://help.linkedin.com/app/ask/path/api-dvr.

Usage

searchPeople(token, keywords = NULL, first_name = NULL, last_name = NULL,
  company_name = NULL, current_company = NULL, title = NULL,
  current_title = NULL, school_name = NULL, current_school = NULL,
  country_code = NULL, postal_code = NULL, distance = NULL, partner = 0)

Arguments

token

Authorization token.

keywords

A keyword used in a person's profile. Multiple words should be separated by a space.

first_name

Search by a user's first name.

last_name

Search by a user's last name.

company_name

The name of a company where someone has as worked.

current_company

TRUE or FALSE, can only be used in conjunction with company_name.

title

A job title someone has held

current_title

TRUE or FALSE, can only be used in conjunction with title.

school_name

The name of a school someone has attended.

current_school

TRUE or FALSE, can only be used in conjuntion with current_school.

country_code

Specify the country in which to search. This is the ISO3166 country code, and must be in lower case.

postal_code

Must be combined with the country_code parameter.

distance

Distance matches members within a distance from a central point. This is measured in miles and and is best used in conjunction with both country_code and postal-code.

partner

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

Value

Returns a dataframe of people based input parameters

Author(s)

Michael Piccirilli michael.r.piccirilli@gmail.com

See Also

getProfile

Examples

## Not run: 

search.results <- searchPeople(token=in.auth, first_name="Michael", last_name="Piccirilli")

## End(Not run)

[Package Rlinkedin version 0.2 Index]