rg_response_to_df: Transform response from pessl-api into a dataframe

Description Usage Arguments

Description

This function allows you to transform the list-object that is returned from the pessl-api into a data.frame

Usage

1
rg_response_to_df(api_response, sensor_list = NULL, time_res = "raw")

Arguments

api_response

list-object that is returned from the get_data function in the python script "pessl_api"

sensor_list

a list of sensor = new_name pairs. Determines which sensors are used from the stations and how they are named in the resulting data.frame

time_res

string, resolution of the downloaded data. possible values are raw, hourly, daily or monthly


sitscholl/Rgadgets documentation built on Feb. 19, 2021, 1:24 a.m.