EconPapers    
Economics at your fingertips  
 

cntraveltime: Travel distance and travel time in China

Xueren Zhang (), Yuan Xue () and Chuntao Li ()
Additional contact information
Xueren Zhang: Wuhan University
Yuan Xue: Huazhong University of Science and Technology
Chuntao Li: Henan University

Stata Journal, 2023, vol. 23, issue 3, 730-753

Abstract: In this article, we introduce the command cntraveltime, which can calculate both the travel distance and the travel time between two locations in China with respect to different modes of transportation (driving, public transport, and cycling). Existing commands such as georoute, traveltime, and mqtime have difficulties in parsing Chinese locations. cntraveltime solves this outstanding challenge via a feature that enables it to call route-planning services from the Baidu Maps Open Platform. The results of rigorous testing on the features of the command show that, relative to similar existing commands, cntraveltime has the highest capacity in terms of functionality and precision. This suggests that it can be regarded as a useful complement to other existing commands, especially when calculating travel distance and time for locations within China.

Keywords: cntraveltime; Baidu Maps; travel time; travel distance; China geocoding (search for similar items in EconPapers)
Date: 2023
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj23-3/dm0111/
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.stata-journal.com/article.html?article=dm0111 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:23:y:2023:i:3:p:730-753

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X231196292

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:23:y:2023:i:3:p:730-753