cities_temperature: Long Term Monthly Temperature in 20 Major Cities

cities_temperatureR Documentation

Long Term Monthly Temperature in 20 Major Cities

Description

Average temperatures between 1975 and 2010 of 20 major cities of the world. Source.

Site coordinates for this dataset are in cities_coordinates.

The full dataset with 100 cities can be downloaded from https://github.com/BlasBenito/distantia/blob/main/data_full/cities_temperature.rda (use the "Download raw file" button).

Usage

data(cities_temperature)

Format

data frame with 3 columns and 52100 rows.

See Also

Other example_data: albatross, cities_coordinates, covid_counties, covid_prevalence, eemian_coordinates, eemian_pollen, fagus_coordinates, fagus_dynamics, honeycomb_climate, honeycomb_polygons

Examples

data("cities_temperature")

#to time series list
cities <- tsl_initialize(
  x = cities_temperature,
  name_column = "name",
  time_column = "time"
)

#time series plot
if(interactive()){

 #only four cities are shown
 tsl_plot(
  tsl = tsl_subset(
    tsl = tsl,
    names = 1:4
    ),
  guide = FALSE
  )

}

distantia documentation built on April 4, 2025, 5:42 a.m.