-
Notifications
You must be signed in to change notification settings - Fork 3
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
V1 full support based on district level data only #52
V1 full support based on district level data only #52
Conversation
… districts using duckdb and relations table
Great, let me know if you want me to postpone putting it out there but sounds like we're on-track for launch. |
All on track to merge this by 15:00 UK time (16:00 in Germany I believe) @e-kotov ? |
@Robinlovelace yes, cleaned up 99%. Ready. We don't have a logo) |
Done. Let's see how the pkgdown website renders and looks live and perhaps will make a few tweaks. |
@Robinlovelace can you upload this https://github.com/Robinlovelace/spanishoddata/blob/main/man/figures/card.png?raw=true to Social Preview section of https://github.com/Robinlovelace/spanishoddata/settings ? I cannot access settings. |
Sure! |
@e-kotov The logo is super cool. I loved it! 🤩 Just a quick question: is that plot real? I meant does the arrow width represent the volume of trips? I'd have expected most trips in the triangle Madrid - Barcelona - Valencia |
@eugenividal it is real. I would have spent the whole day to make it by hand) |
@e-kotov thanks for your quick reply. That's interesting! |
@eugenividal ah, also I did some flows aggregation as there's some bug in flowmapper that I did not have time to deal with So the lines in the logo actually combine flows for just 10 nodes and some provinces are aggregated into single point... The image above is with 19 nodes (max allowed by the package) |
@e-kotov There are 17 autonomous communities and two autonomous cities (Ceuta and Melilla) in Spain. Perfect for the max allowed in the package! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @e-kotow, I had a chance to take a look at the vignette "Downloading and converting OD datasets".
I like the new function names. I think they are effectively balanced between being descriptive and not overly long.
The text is generally clear and easy to understand. However, I believe that restructuring some sections could improve the overall clarity.
This and other minor comments (rephrasing suggestions) are explained below.
I also got some errors when running the code. I could provide you with details later if you need them.
Great set of comments @eugenividal. PR welcome, look forward to seeing @e-kotov's comments, your suggestions seem good to me, thank you! |
@eugenividal Thanks for a thorough review and feedback. Working on updated version in a new branch here: https://github.com/Robinlovelace/spanishoddata/blob/minor-fixes-ek/vignettes/convert.qmd . Work-in-progress, so no new review necessary. I will do a PR when I'm ready. |
@e-kotov No problem. Great! I'll be working on other stuff until Tuesday. Yes, please, send a new PR when it is ready and let me know from Tuesday if you would like me to look at any other aspects. |
ok, all done, full support for V1 data and much more cool stuff.
Important: to simplify a few things, the v1 data is now downloaded as csv.gz instead of txt.gz. So before testing, please nuke your cache folder or rename all txt.gz files to csv.gz files. txt.gz files should not get in the way as the functions look specifically for csv.gz files, but if you do not remove them, they will just take up storage space.
Please install with
If the above fails for you because of vignettes, do:
Here's an overview:
See the new vignette for testing all the functions.
@eugenividal I am very interested in your opinion on how well the concept of working with this virtual duckdb table that you get from
spod_get()
andspod_connect_to_converted_data()
is explained in the vignette https://github.com/Robinlovelace/spanishoddata/blob/v1-full-support-based-on-district-level-data-only/vignettes/v1-2020-2021-mitma-data-codebook.qmd . Also, suggestions for better function names, specifically the ones that are user-facing functions covered in the vignette.