Skip to content

fredrowland/academia-citations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Academia Citation Advantage Analysis

The acadcites package contains the data and functions used in Niyazov, et. al. "Open Access Meets Discoverability: Citations to Articles Posted to Academia.edu."

Installing the R Package

The easiest way to install the package and its depdendencies is by using install_local from the devtools package. (http://cran.r-project.org/web/packages/devtools/index.html)

  • Clone the repo:

    git clone https://github.com/polynumeral/academia-citations
    cd academia-citations
    
  • From R:

    install.packages('devtools') 
    devtools::install_local('acadcites_0.1.tar.gz')
    

Importing data

The cleaned/combined dataset used for the analyses can be obtained by calling:

library('acadcites')
cites <- importData()

or just cites <- acadcites::importData() without the library import.

Reproducing tables from the article

Tables from the article can be reproduced with the makeTable function.

# Make Table 1 from the article.
makeTable(2, cites)

# |Journal                                                | # Articles| % Total|
# |:------------------------------------------------------|----------:|-------:|
# |Analytical Chemistry                                   |      1,537|   3.44%|
# |PLoS One                                               |        492|   1.10%|
# |Anesthesia and Analgesia                               |        430|   0.96%|
# |Biological and Pharmaceutical Bulletin                 |        362|   0.81%|
# |Analytical Methods: advancing methods and applications |        339|   0.76%|
# |Analytical Biochemistry                                |        317|   0.71%|
# |Applied Mechanics and Materials                        |        303|   0.68%|
# |Bioconjugate Chemistry                                 |        299|   0.67%|
# |Applied Physics Letters                                |        190|   0.43%|
# |BioEssays                                              |        183|   0.41%|

Reproducing figures from the article

The makeFigure function reproduces figures from the article. Like makeTable, it takes a figure number and a citations data frame.

makeFigure(1, cites)

Package help

See help(package='acadcites') for more help files on individual functions, or vignette('acadcites') for information similar to what's provided here.

About

Code, data, and paper for Academia.edu citation advantage analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published