handle_splitatts: Split attributes from station_atts

Description Usage Arguments Details Value

View source: R/handle_data.R

Description

This function helps split attributes from station_atts.Rdata

Usage

1
handle_splitatts(stationatts, attname, startpoint)

Arguments

stationatts

The list: station_atts.

attname

The attribute you want to split, like character "Cheng Shi Qun".

startpoint

The startpoint of the first str behind "(".

Details

File "station_atts.Rdata" is handled by strsplit function from the big-table with all station-attributes. "station_atts" is a big list. Each element is a station. This function receives attname and startpoint of "(" to extract the content of attributes.

Value

A dataframe contains 2 columns, "V1" save attributes content, "index" save station_index.


ahorawzy/Mreport documentation built on May 3, 2019, 3:40 p.m.