Learn R Programming

easyScieloPack (version 0.1.1)

years: 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)

Value

A list with named elements year_start and year_end.

Arguments

start_year

Integer. Start year for filtering (inclusive).

end_year

Integer. End year for filtering (inclusive).

Examples

Run this code
valid_years <- years(2018, 2022)

Run the code above in your browser using DataLab