Learn R Programming

Rlinkedin (version 0.2)

getProfile: Extract LinkedIn Profile Information

Description

getProfile retrieve's proflie information about to yourself, your connections, or another individual.

Usage

getProfile(token, connections = FALSE, id = NULL, partner = 0)

Arguments

token
Authorization token.
connections
TRUE or FALSE. If TRUE, will return profile information of your connections. FALSE is default.
id
Numeric ID number of a LinkedIn member.
partner
Indicate whether you belong to the Partnership Program. Values: 0 or 1

Value

Returns a list of profile information.

Details

There are three separate calls in getProfile.

The first is to return profile information about yourself. The only input into the function under this scenario is the token.

The second is to return profile information about all your 1st degree connections. You need to supply the token and set the connections = TRUE.

The third is to return profile information about an individual based on their id number. This can be found if you search your connections using the getMyConnections function.

See Also

searchPeople, getMyConnections

Examples

Run this code
## Not run: 
# 
# profiles <- getProfile(in.auth, connections=TRUE)
# ## End(Not run)

Run the code above in your browser using DataLab