response_to_df: Transform response from pessl-api into a dataframe

Description Usage Arguments

View source: R/pessl_api_R_handling.R

Description

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

Usage

1
response_to_df(api_response, sensor_list = NULL, time_res = "daily")

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/rebecka_package documentation built on Aug. 25, 2020, 4:20 a.m.