read_lens: Read Lens.org CSV export

View source: R/read-lens.R

read_lensR Documentation

Read Lens.org CSV export

Description

Parses a CSV file exported from Lens.org into a standardized bibliometric data frame.

Usage

read_lens(file, encoding = "UTF-8")

Arguments

file

Path to a Lens.org CSV export file.

encoding

Character. File encoding. Default "UTF-8".

Value

A data frame in the standard bibnets format: id, title, year, journal, doi, cited_by_count, abstract, type, plus list-columns authors, references, and keywords.

Examples

f <- system.file("extdata", "lens_sample.csv", package = "bibnets")
data <- read_lens(f)
head(data[, c("id", "title", "year", "journal")])

bibnets documentation built on June 19, 2026, 1:06 a.m.