deckstats.net
You need to be logged in to do this.
The buttons above will open in a new window. Please return to this window after you have logged in. When you have logged in, click the Refresh Session button and then try again.

Author Topic: Export CSV with more variables  (Read 471 times)

j-de-julio

  • New Member
  • *
  • Posts: 9
  • Karma: 1
  • Decks
Export CSV with more variables
« on: March 11, 2022, 01:57:21 pm »
Hi!

I'm starting to use R (a program for statistical analysis) for various reasons and I thought it would be nice to play around with a .csv containing my collection.

The thing is, some important info is not exported and I can not find a way to do it by myself, such as "Color", "CMC", "Type".

Is it possible to do this? If not, how could this function be implemented in Deckstats?

Thank you in advance :)

Lohoris

  • Patron
  • Full Member
  • *****
  • Posts: 150
  • Karma: 61
  • Decks
Re: Export CSV with more variables
« Reply #1 on: March 13, 2022, 11:38:02 am »
Maybe you could query a card database (dunno if Scryfall has APIs for that) to get all the info you need.

Dunno how much of an hassle would be to do that in R though, as I'm not familiar with that at all.

j-de-julio

  • New Member
  • *
  • Posts: 9
  • Karma: 1
  • Decks
Re: Export CSV with more variables
« Reply #2 on: March 18, 2022, 11:42:36 am »
Maybe you could query a card database (dunno if Scryfall has APIs for that) to get all the info you need.

Dunno how much of an hassle would be to do that in R though, as I'm not familiar with that at all.

That's exactly what I did, and it worked perfectly!! Thank you for the idea :)