Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample #7

Open
scls19fr opened this issue Jun 20, 2015 · 3 comments
Open

Sample #7

scls19fr opened this issue Jun 20, 2015 · 3 comments

Comments

@scls19fr
Copy link

Hello,

I'm trying your package but it will be nice to improve doc to tell us where to find flights sample dataframe.
I have been looking inside dplyr package http://cran.r-project.org/web/packages/dplyr/index.html
but I wasn't able to find it.
Thanks

Kind regards

@jkeirstead
Copy link

There's an example of how to get this data from the web using Python at https://plot.ly/python/widget-app/#nyc-flights-database

@scls19fr
Copy link
Author

So it's using

df = pd.read_csv('https://raw.githubusercontent.com/yankev/testing/master/datasets/nycflights.csv')
df = df.drop(df.columns[[0]], axis=1) 

Thanks

@jkeirstead
Copy link

Exactly, though of course the data will be in an object called df not flights but that's easy enough to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants