Comments (2)
Hi Michael,
I have never worked with objects of class mts
. To save it as a CSV file, I first need to convert it to a data.frame
in the get_data
function of my scrape.R
script. For example, here is how I convert objects of class ts
:
https://github.com/vincentarelbundock/Rdatasets/blob/master/scrape.R#L25
Could you recommend a better way to convert mts
objects to a simple data.frame
that can be saved to CSV?
from rdatasets.
Closing this now, but feel free to reopen if you have a suggestion on the best way to proceed.
from rdatasets.
Related Issues (20)
- new dataset: survival
- new dataset: asaur HOT 1
- new dataset: mstate HOT 3
- starwars dataset only has one row - seems incomplete HOT 1
- Error within O-Rings dataset HOT 1
- Selection of data sets HOT 1
- missing Dataset on datasets HOT 4
- add datasets with errors HOT 1
- lterdatasample HOT 1
- Package suggestion: Add wooldridge package HOT 1
- mlmRev HOT 1
- new dataset: rethinking HOT 1
- Add two datasets from `survival` package HOT 4
- modeldata package HOT 1
- Snow.polygons missing from HistData HOT 3
- Add datasets from heplots and vcdExtra? HOT 1
- Minor discrepancies between subfolder csvs and master sheet HOT 4
- Exporting CSV with parameters row.names = FALSE and na = "" to avoid NA strings and get rid of row.names column? HOT 3
- colliding paths HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdatasets.