years {easyScieloPack}R Documentation

Validate year range for SciELO query

Description

Ensures that start and end years are valid numeric values and in correct order.

Usage

years(start_year, end_year)

Arguments

start_year

Integer. Start year for filtering (inclusive).

end_year

Integer. End year for filtering (inclusive).

Value

A list with named elements year_start and year_end.

Examples

valid_years <- years(2018, 2022)

[Package easyScieloPack version 0.1.0 Index]