@jimbob I built a moderately complicated shiny/leaflet app a while ago and was so frustrated with how slow it was.
At the end of the project phase I rebuilt it as a straight leaflet page to give to the client. It was sooo much snappier, realised then I should learn some JS libraries properly.
So what I was really play with in @rstats yesterday was drive time analysis to Canberra's two hospitals - there's a bit of a joke that everywhere in Canberra is only 20 minutes drive away - it's not quite true though...
In the deep south and the new suburbs of the north the drive to the closest hospital is over 30 minutes!
This analysis is by SA1 taking simple centroids - still needs a bit of work, but really enjoying learning how to get openrouteservice working in a docker container on my local computer - definitely woth looking at as an alternative to google or mapbpx
The {summarytools} #rstats 📦 aims to:
“Provide a coherent set of easy-to-use descriptive functions [like] those in commercial statistical software suites such as SAS, SPSS, and Stata
“Offer flexibility in terms of output format & content
“Integrate well with commonly used software & tools for reporting”
Results can be displayed in console or rendered/saved as HTML, plain text, or R Markdown. By Dominic Comtois https://htmlpreview.github.io/?https://github.com/dcomtois/summarytools/blob/master/doc/introduction.html #EDA@rstats
I did the dumbest little project tonight. I find it amusing that my European colleagues don't realize that their country is basically the size of Indiana.. or Tennessee or some other state that they can't find on a map. So I pulled the data to determine which state is most like which country. My 3 metrics are: population, land mass, and GDP. I have the data cleaned up. So maybe now a simple Shiny app?
@Jakra@Cmastication this sent me down a 'The true size of...' rabbit hole. So good. Recreate that in Shiny but for sub-national regions, with addition metric comparisons and I'll totally buy you a beer! https://www.thetruesize.com
Although there is zero chance of tax incentives for housing investors being reduced in the current parliament, it's worth remembering that the main argument against doing so, that it will force 'mum and dad' landlords to sell rental properties, is in fact the main reason for doing it
@luciedigitalni I'm perplexed that apparently, according to the guardian/essential ppoll published toy, a majority of people don't support changes. Need to get my head around what proportion of people have investment properties...
My mother just offered me a ~70 year old fur coat. It was made by Madame Louise of Nairobi.
The ethics of old fur aside, it was made of hyrax, an animal I'm not sure I'd heard of before today, and it looks this 👇and I just can't fathom deciding to make a coat out a bunch of these little weirdos
ok here it is. how to set up your very own single-user mastodon instance and run it free forever. boosts ok in case it's useful to anyone who wants to set one up. i recommend doing it simply for fun and for the learning experience. good luck! https://josh.is-cool.dev/running-a-mastodon-instance-entirely-free-forever/
You can render to epub - so great that resources like https://r4ds.had.co.nz/index.html that are actually quarto books can be rendered as an epub just by changing the .yaml format
(I realised recently you can also do this with bookdown which is amazing)
Check out how to parse out data into multiple excel files using R openxlsx. It's a super convenient way to save time and automate a painfully monotonous task. And, it uses for loops!
@hrbrmstr could be a trans-pacific language thing, but I'm left slightly confused as to your stance on whether we should or should not be dis'in for loops...
I often use for loops for things like this and have to say I find it easier to debug this way rather than a function and map family functions. Reading lots of things in on the other hand...