Find Jobs
Hire Freelancers

Help with nested lists in R

$30-250 AUD

Đã đóng
Đã đăng vào hơn 6 năm trước

$30-250 AUD

Thanh toán khi bàn giao
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.
Mã dự án: 15312934

Về dự án

4 đề xuất
Dự án từ xa
Hoạt động 6 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
4 freelancer chào giá trung bình $122 AUD cho công việc này
Avatar người dùng
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 trong 3 ngày
4,9 (27 nhận xét)
6,5
6,5
Avatar người dùng
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 trong 7 ngày
4,8 (23 nhận xét)
5,3
5,3
Avatar người dùng
A proposal has not yet been provided
$111 AUD trong 3 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của AUSTRALIA
collingwood, Australia
5,0
5
Phương thức thanh toán đã xác thực
Thành viên từ thg 5 24, 2016

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.