Find Jobs
Hire Freelancers

Help with nested lists in R

$30-250 AUD

已关闭
已发布超过 6 年前

$30-250 AUD

货到付款
I've currently hit a dead end with a data cleaning problem in R. I've used the R package googleways to reverse geocode some lat long values with the code smallsample$address <- apply(smallsample, 1, function(x){ google_reverse_geocode(location = [login to view URL](c(x["[login to view URL]"], x["[login to view URL]"])), key = "xxx") }) It produces a series of nested lists inside the $address column of the smallsample data frame. The list is from the google maps API. One of the nested lists is as follows: smallsample$address$`2620`$results$address_components[[1]] long_name short_name types 1 2 2 street_number 2 Peacock Street Peacock St route 3 Brunswick West Brunswick West locality, political 4 Moreland City Moreland administrative_area_level_2, political 5 Victoria VIC administrative_area_level_1, political 6 Australia AU country, political 7 3055 3055 postal_code where 2620 is the row name. I'm interested in creating new variables in the original smallsample dataset that contains the list "types" as column names and the values of "long_name" as values. Please note that you cannot assume that the google API will return the exact same "type" values for each ping of the API. If you accept then I will send you the original R file.
项目 ID: 15312934

关于此项目

4提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
4威客以平均价$122 AUD来参与此工作竞价
用户头像
I can assist you in cleaning up and reformating the data into the required structure using R. Relevant Skills and Experience I have extensive experience using R for data acquisition, cleaning, preprocessing, statistical analysis and machine learning. Proposed Milestones $155 AUD - On completion Stay tuned, I'm still working on this proposal.
$155 AUD 在3天之内
4.9 (27条评论)
6.5
6.5
用户头像
The delivery date and budget are a guide only. May change depending on the complexity/simplicity of the problem. Interested to know more. Relevant Skills and Experience Master in data manipulation and analysis using R. Have experience in working with maps data. Proposed Milestones $30 AUD - Understanding the project thoroughly $130 AUD - Final deliverable Is creating new variables included in the project? What do you mean types changes at each ping?
$160 AUD 在7天之内
4.8 (23条评论)
5.3
5.3
用户头像
A proposal has not yet been provided
$111 AUD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

AUSTRALIA的国旗
collingwood, Australia
5.0
5
付款方式已验证
会员自5月 24, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。