-
Notifications
You must be signed in to change notification settings - Fork 0
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
Activity #3B #9
Comments
Some improvement on "IsolatedData" part but cannot limit to just 5 nodes "agrupated data" remains the same as the last changes. |
Hey Carles, I got a first approach of the "agrupatedData" part that already works to retrieve the confirmed_cases from Tarragona's same week when there's a max in Lleida. However, I think I must cap-out the results to the maximum value from the filtered ones, since I get two results for Tarragona. For example, there are two nodes for the 15/07/2020 date, one with 0 confirmed_cases (residence = no) and another with 75 cases (residence = yes). I guess we should take the highest (I still haven't reviewed your code, I wanted to understand perfectly how xQuery works before). My code -> uoc.abd.prac2/activity_3/activity_3B.txt |
Ok I think I got the "AggrupatedData" part working. Now I just have to check that the results are correct, and if there is any other way more efficient to do the same thing. Here's the upgraded code: uoc.abd.prac2/activity_3/activity_3B.txt These are the results I get: I'll check the correctness of these results after lunch and then I'll try to help you with the "IsolatedData" part 👍 |
Hey @cdelbg , I've already reviewed your code for the I also checked that the results I got are right, but it would be great if you could take a look also, just in case I missed anything. In regards to the |
o k, I'll check what you say. about the isolateddata part I think that it's working at last, please have a look. |
It looks great at a first sight, good job! I'll test it and see a way to integrate it nicely with the other part (also, we could define functions to make the |
okay so I've already tested your part and it works perfectly to me, well done again 👍 . I've also put it together along with the previous part of the code, so we can say that this activity is done (we still have to comment the code, I'll proceed with the Here is the final code of the activity (I did not implemented the custom functions though, since I finally thought that they were not really necessary - we're not using them more than once): https://github.com/UOC-Assignments/uoc.abd.prac2/blob/jordi_v3.2/activity_3/activity_3B.txt |
I've checked the whole code and runs perfect |
Ok at 16 is fine (I just saw your comment) |
I've already added the latest comments to the code, so there is nothing else to do here. |
Here we could share resources related with this activity (bibliography, links, etc), as well as discuss any problem or issue we might face while performing it (English is not mandatory).
The text was updated successfully, but these errors were encountered: