Learn R Programming

gerefer (version 0.1.3)

example_database2: Function that generates the test database

Description

The example_database2 function reads a csv file available on the computer system and returns a dataframe as an example of a database to be used by the functions of the bibliorefer package

Usage

example_database2(path_date, separator)

Value

This function return is a dataframe with database

Arguments

path_date

is a directory path containing the csv file

separator

is the separator for files in csv format

References

Aria, M. & Cuccurullo, C. (2017) bibliometrix: An R-tool for comprehensive science mapping analysis, Journal of Informetrics, 11(4), pp 959-975, Elsevier

Examples

Run this code

#Call the example_database2 function

file_db <- system.file("extdata","example_database2.csv", package = "gerefer")
separator = ";"
date_sreference <- example_database2(file_db, sep = separator)
date_sreference


Run the code above in your browser using DataLab