who_are_you: Characterize a package neighborhood

Description Usage Arguments Value Examples

View source: R/who_are_you.R

Description

This function gives you an ego network of a package (the package and its surrounders).

Usage

1
2
3
who_are_you(pack, plot.it = TRUE, return.map = F, nwords = 5,
  add_my_packs = FALSE, my_packs_neighbors = FALSE,
  point.size = "downloads", min.point.size = 15, max.point.size = 30)

Arguments

pack

The package of interest.

plot.it

Should the network be plotted? Default is TRUE

return.map

Should the network be returned? Default is FALSE

nwords

The number of words per line in the package's description

add_my_packs

Should your packages be added to the plot? Default is FALSE

my_packs_neighbors

If add_my_packs is TRUE, should only keep the surrounders of pack? Default is FALSE

point.size

The aspect of the packages giving their size. If 'score', their size is given based in their score. If 'downloads', their size is base in ther daily downloads. Else its the same for all of them. If you want to specify a size use min.point.size

min.point.size

The min point size, passed to leaflet. Default is 15

max.point.size

The max point size, passed to leaflet. Default is 30

Value

A dataframe and also a plot.

Examples

1
who_are_you('leaflet')

arielolafsalgado/packexplorer documentation built on Aug. 22, 2021, 8:55 a.m.