select | R Documentation |
Processing downloaded annual climate records for a city for a particular temperature and precipitation variable.
select(city.hist.data, var.name, year.col.name = "Year", thresholds = 10)
city.hist.data |
A dataframe object that contains the different annual temperature and precipitaiton variable and years for a city. It can be a datafram object that is downloaded using |
var.name |
A character object that specifies the column name of the selected climate variable in the city.hist.data. |
year.col.name |
A character object that specifies the column name used for the information of years in the city.hist.data. |
thresholds |
A number specifies the number of missing daily data acceptable for the selection of annual climate variable. |
A dataframe object that provides the information about the years and one selected climate variable for the city.
Yuchuan Lai
See Also as citylist
and download
.
# Download the annual data for Pittsburgh pit.annual <- download("Pittsburgh", "annual") # Process the annual data of Pittsburgh to obtain annual average temperature as a data.frame object pit.temp <- select(pit.annual, "Avg.Temp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.