sinaica_station_dates: Dates supported by a station

View source: R/sinaica_station_params_and_dates.R

sinaica_station_datesR Documentation

Dates supported by a station

Description

Start date and end date of the range for which SINAICA has data for an air quality station

Usage

sinaica_station_dates(station_id, type = "Crude")

Arguments

station_id

the numeric code corresponding to each station. See stations_sinaica for a list of stations and their ids.

type

The type of data to download. One of the following:

  • "Crude" - Crude data that has not been validated

  • "Validated" - Validated data (may not be the most up-to-date)

  • "Manual" - Manual data

Value

a vector containing the date the station started reporting and end reporting date

Examples

## id 271 is Xalostoc. See `stations_sinaica`
df <- sinaica_station_dates(271, "Manual")
head(df)

diegovalle/rsinaica documentation built on March 23, 2022, 8:58 a.m.