Talk:Merge and aggregate datasets: Difference between revisions

(→‎Cleaned Note: The example does need completing though.)
 
(2 intermediate revisions by 2 users not shown)
Line 18:
::Agreed, I find it very useful to have demos that "just run", and like you I usually add comments that show how to read the exact same stuff from a file. I have also added some links to related tasks. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 07:25, 8 December 2020 (UTC)
::Of course that "just run" is more than just a little bit handy for repl-it, tio, and the like. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 02:35, 10 December 2020 (UTC)
:The task says "Either load the data from the .csv files or create the required data structures hard-coded." so I took that to mean it wasn't required. The current implementations cover the full spectrum. Go, SQL, Wren, and now C++ took the hard-coded approach. Perl and Raku parse a text block. Julia, Phix, and R work as-if they are reading a file. Python, REXX, and SPSS actually do read .csv files. To me the interesting part of this task is combining the tables - I think this is the only task to do that. Reading from a .csv is covered by the [[CSV data manipulation]] task. What should be required?
[[User:Garbanzo|Garbanzo]] ([[User talk:Garbanzo|talk]]) 03:49, 5 January 2021 (UTC)
 
== Cleaned Note ==
Line 25 ⟶ 27:
: If you don't complete the task by being able to read the files, then the C++ solution is not as comparable to the solutions that implement the task. Yes it is setup, but reading from csv files is a pretty common way of getting data for your "interesting bits".
:If a very well known and easy to use source of C++ libraries, (Boost?), has a csv reader then you could employ that, but I'm not a great C++ programmer. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 14:29, 4 January 2021 (UTC)
 
::'''My apologies''' - The task description ''does'' allow input from other than .csv files. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 13:07, 5 January 2021 (UTC)
::: Thanks. The description is more clear now. [[User:Garbanzo|Garbanzo]] ([[User talk:Garbanzo|talk]]) 06:07, 6 January 2021 (UTC)
125

edits