公开数据集
数据结构 ? 300.74M
Data Structure ?
* 以上分析是由系统提取分析形成的结果,具体实际数据为准。
README.md
Context
I want to use haversine distance and approximate zip-code of trips in NY City Taxi Trips Durations project.
Content
(https://www.kaggle.com/c/nyc-taxi-trip-duration)
Acknowledgements
**geosphere** package in R
**zipcode** package in R Inspiration If you think this data is useful for you and not able to download it. You can re-compute the same using below few lines of code. library(data.table)
library(geosphere)
library(zipcode)
** Reading data **
train <- fread("train.csv")
test <- fread("test.csv")
** Computing haversine distance **
train[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
test[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
** Assigning approximate zipcode using euclidean distance between the locations **
data("zipcode")
zipcode <- as.data.table(zipcode)
zipcode <- zipcode[state == "NY
**zipcode** package in R Inspiration If you think this data is useful for you and not able to download it. You can re-compute the same using below few lines of code. library(data.table)
library(geosphere)
library(zipcode)
** Reading data **
train <- fread("train.csv")
test <- fread("test.csv")
** Computing haversine distance **
train[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
test[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
** Assigning approximate zipcode using euclidean distance between the locations **
data("zipcode")
zipcode <- as.data.table(zipcode)
zipcode <- zipcode[state == "NY
×
帕依提提提温馨提示
该数据集正在整理中,为您准备了其他渠道,请您使用
注:部分数据正在处理中,未能直接提供下载,还请大家理解和支持。
暂无相关内容。
暂无相关内容。
- 分享你的想法
去分享你的想法~~
全部内容
欢迎交流分享
开始分享您的观点和意见,和大家一起交流分享.
数据使用声明:
- 1、该数据来自于互联网数据采集或服务商的提供,本平台为用户提供数据集的展示与浏览。
- 2、本平台仅作为数据集的基本信息展示、包括但不限于图像、文本、视频、音频等文件类型。
- 3、数据集基本信息来自数据原地址或数据提供方提供的信息,如数据集描述中有描述差异,请以数据原地址或服务商原地址为准。
- 1、本站中的所有数据集的版权都归属于原数据发布者或数据提供方所有。
- 1、如您需要转载本站数据,请保留原数据地址及相关版权声明。
- 1、如本站中的部分数据涉及侵权展示,请及时联系本站,我们会安排进行数据下线。