import_sensor {telraamStats}R Documentation

Imports data associated with a list of sensors

Description

Imports data associated with a given list of sensor names from .RData files contained in a data directory. The main purpose of this function is to load the data saved with write update data.

Usage

import_sensor(list_sensor)

Arguments

list_sensor

A character vector specifying the names of sensors to import data for.

Value

A dataframe containing the imported data.

Examples

## Not run:  # This example requires a valid API key
period <- as.Date(c('2022-01-01', '2022-12-31'))
write_update_data('RteVitre-06', period[1], period[2])
write_update_data('ParisArcEnCiel-05', period[1], period[2])
import_sensor(c('RteVitre-06', 'ParisArcEnCiel-05'))

## End(Not run)

[Package telraamStats version 1.1.2 Index]