Learn R Programming

jpcity (version 0.3.0)

city_convert: Convert to cities at different points in time

Description

Convert to cities at different points in time

Usage

city_convert(city, from, to)

Value

A list of a jpcity_city object.

Arguments

city

A jpcity_city object.

from

A character (year, month, and day components) or date-time object of the starting date.

to

A character (year, month, and day components) or date-time object of the ending date.

Examples

Run this code
city <- parse_city(c("01201", "01202"))
city_convert(city,
             from = "1970-04-01",
             to = "2020-01-01")

Run the code above in your browser using DataLab