Question

Simple R programming question: I need to download this data set from kaggle, what is the...

Simple R programming question:

I need to download this data set from kaggle, what is the correct code? the one that I am using is not working:

library(data.table)
boston_variable <- read.csv("https://www.kaggle.com/rojour/finishers-boston-marathon-2017#marathon_results_2017.csv")

returns:

Version:1.0 StartHTML:0000000107 EndHTML:0000000950 StartFragment:0000000127 EndFragment:0000000932

 cannot open URL 'https://www.kaggle.com/rojour/finishers-boston-marathon-2017#marathon_results_2017.csv': HTTP status was '404 Not Found
0 0
Add a comment Improve this question Transcribed image text
Answer #1

--> You cannot directly read it from the link because you have to login to do that.

--> A simple alternative would be to login into the kaggle download the file and read from the local directory.

Add a comment
Know the answer?
Add Answer to:
Simple R programming question: I need to download this data set from kaggle, what is the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please answer the following question using r studio and provide screen shots. download the data and...

    please answer the following question using r studio and provide screen shots. download the data and import them into RStudio as a dataframe using read.csv(), or impor them directly using the following code: # install.packages('RCurl') # uncomment and run this line if RCurl not installed library(RCurl) # makes getURL() function available u <- 'https://docs.google.com/spreadsheets/d/1ZbIMHRP9mZnDS4WIiAt1Wk8dsQBQjCE0oTXWLv13fOA/pub?gid=1142643825&single=true&output=csv' tc <- getURL(u, ssl.verifypeer=FALSE) practice <- read.csv(textConnection(tc)) Then, using the function mean(), answer the following question: 1.What are the mean Before and After scores? Select one:...

  • This is a technical setup question regarding server-side swift (Apple's programming language). I have currently got...

    This is a technical setup question regarding server-side swift (Apple's programming language). I have currently got a swift package with kitura dependency on a ubuntu 16.04 machine, which starts a server. (accessed through ssh on mac) I have followed this course from Udacity: server-side swift, and I have reached lesson 1 part 11 but I am now stuck. I am unable to open `hostname:8080` on my mac host, which is how I have setup the port in my main.swift using...

  • I need help programming this question using C language. This program uses input data entered in...

    I need help programming this question using C language. This program uses input data entered in command line at the same time when the command or .exe file is entered. They are called command-line arguments. Because everything entered in command line is taken as a string, these arguments including the command itself or the .exe file name are stored in an array of char pointers, each pointer points to the first character of a string (i.e., argument). The inputs can...

  • Writing Unix Utilities in C (not C++ or C#) my-cat The program my-cat is a simple...

    Writing Unix Utilities in C (not C++ or C#) my-cat The program my-cat is a simple program. Generally, it reads a file as specified by the user and prints its contents. A typical usage is as follows, in which the user wants to see the contents of my-cat.c, and thus types: prompt> ./my-cat my-cat.c #include <stdio.h> ... As shown, my-cat reads the file my-cat.c and prints out its contents. The "./" before the my-cat above is a UNIX thing; it...

  • I need help with this assignment in C++, please! *** The instructions and programming style detai...

    I need help with this assignment in C++, please! *** The instructions and programming style details are crucial for this assignment! Goal: Your assignment is to write a C+ program to read in a list of phone call records from a file, and output them in a more user-friendly format to the standard output (cout). In so doing, you will practice using the ifstream class, I'O manipulators, and the string class. File format: Here is an example of a file...

  • Computer Science 182 Data Structures and Program Design Programming Project #3 – Link List Card Games...

    Computer Science 182 Data Structures and Program Design Programming Project #3 – Link List Card Games One of the nice things about Java is it is very easy to do fun things with graphics. The start code provided here will display a deck of cards on the screen and shuffle them. Your mission, is to start with this code and build a card game. Blackjack, poker solitaire, what ever your heart desires. Blackjack is the easiest. Obviously any program you...

  • RE-POSTED - Computer Science staff, I need this question answered. It will determine a pass or...

    RE-POSTED - Computer Science staff, I need this question answered. It will determine a pass or a fail. Its very imortant that this and the other questions posted are answered 100% Thank you. 13 - Template C++ Advance Please Only answer assignment if your code is 100%. When pasteing your code use text so I may copy and paste into visual studio. The code and questions must be answered 100% correct and works. Thank you. Programming Assignment Convert the int...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT