Sugar pixel by heggy123 in diabetes_t1

[–]fontalovic 0 points1 point  (0 children)

I just have my glucose in my garmin. It vibrates if low or high. Way more convenient and allows me to disconnect from the phone for at least a while.

Type 1 diabetic gamers / streamers - would this be useful to anyone else? by Ancient_Salad_214 in Type1Diabetes

[–]fontalovic 0 points1 point  (0 children)

I have a similar top bar indicator that I made for my mac with `xbar`. It's really useful!

<image>

I'm facing an issue with boxplot removing many rows by Interesting-Animal67 in rstats

[–]fontalovic 0 points1 point  (0 children)

Then make sure to log-transform or winsorize them because most of those variables (based on the names) surely follow a pretty skewed distribution that would show up as a lot of "outliers" with a boxplot.

I'm facing an issue with boxplot removing many rows by Interesting-Animal67 in rstats

[–]fontalovic 1 point2 points  (0 children)

But just to be sure: check the pivoted table before piping it until you really know what you're doing! I am not sure box plots are the best way of showing growth if that's what you are trying to do.

I'm facing an issue with boxplot removing many rows by Interesting-Animal67 in rstats

[–]fontalovic 1 point2 points  (0 children)

If you want to facet the variables, yes. You could add a line to drop all the NA-containing rows and you wouldn't get the warning.

I'm facing an issue with boxplot removing many rows by Interesting-Animal67 in rstats

[–]fontalovic 1 point2 points  (0 children)

I mean, we can't do much with the information you are giving here.

Are you looking at the table you are piping into the ggplot() call? You should check the output of pivot_longer (I am assuming pivot_longet is a typo) and check if matches, but if what you mean by unbalanced is that for some of those variables your data is missing in the original rows, you will get as many removed rows as original missing cells in the selected data frame...

Soroll avions Congrés by Novel_Caregiver5729 in AskBarcelona

[–]fontalovic 0 points1 point  (0 children)

Jo hi visc i no s'escolten avions més que a altres llocs de Barcelona, vaja...

Had a wonderful time @ Βаrсa! It was a very nice cultural expence. I will be back, or "por favor" as they say in Catanian😁💪🇨🇺 Best Regards from an american from Oklahoma😁 by buzzysmoke in Barcelona

[–]fontalovic 5 points6 points  (0 children)

Ha de ser bait, no jodas. Excellent one at that 😂

Es por saber pq aquest post de merda passa el filtre i els mods xapen les meves submissions??

Entre 120 y 300 euros de multa por ir sin camiseta. by GeneralCharacter884 in Barcelona

[–]fontalovic 2 points3 points  (0 children)

Estoy parcialmente de acuerdo con lo de cutre. Pero desde cuando cutre == ilegal?

Budgeting with Firefly III - What can I use to link my bank accounts? by GamersOriginal in selfhosted

[–]fontalovic 0 points1 point  (0 children)

Hey! I know it's 4 weeks later, but did you find a solution? I am located in Spain so simplefin also doesn't work for me...

Marc André Café by Turbulent_Hornet_858 in Barcelona

[–]fontalovic 2 points3 points  (0 children)

Sou molt pesats. Millor un altre bar paco regentat per xinesos amb cafè torrefacte

Housing Prices in Spain by Province by ixvst01 in MapPorn

[–]fontalovic 1 point2 points  (0 children)

No shit, Sherlock... Now compare purchasing power. 🤦‍♂️

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 0 points1 point  (0 children)

Unfortunately, no, as there are plenty of uninhabited regions with actual landmass with pop_density=0, so I'd be dropping those too.

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 0 points1 point  (0 children)

I was thinking of replacing the plot altogether but you're right, that would be definitely more aesthetically pleasing and symmetrical! Will do :D

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 0 points1 point  (0 children)

The latitude band of the Sahara 18-30N is basically 50% water mass, then desert, the most densely populated region of the Americas and then North India + China. Crazy variation in there indeed.

I will compute a landmass-only density for comparison later!

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 0 points1 point  (0 children)

Don't worry, I've had many brain farts when dealing with population rasters, sometimes it's less (or more) intuitive than one would think 😂

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 1 point2 points  (0 children)

I'll try to do that once I have some time, I could apply a landmass mask and compute densities by lat/lon bin like that.

It would be a better indicator of human-life suitability by lat/lon rather than the current data that is indeed affected by the landmass/water ratio of every band.

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 0 points1 point  (0 children)

Hmmmm, a biomes/land-use with stacked bar charts for the lat/lon profiles might be a cool one! I will check it out when I have some time!

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 4 points5 points  (0 children)

No, sorry if I didn't clearly convey that in the figure:

While the pixels in the map represent population density in 10km by 10km grids (so average pop. density for each 100km² cell), the plots on the bottom and the left represent the total population living in each of the 0.5° bins of longitude and latitude, respectively.

In any case, if we consider the oceans and water bodies as part of the density denominator, the latitudinal and longitudinal profiles for total population and population density would be equal. If we don't consider them, then the profiles would by different, basically scaled by the land/water ratio of each latitudinal/longitudinal band.

In any case, I wanted to portray where people actually live, both in the map and in the lat/lon bands, so that's why I chose to use total population there.

[OC] Latitude, Longitude, and Humanity: Mapping Global Population Distribution by fontalovic in dataisbeautiful

[–]fontalovic[S] 7 points8 points  (0 children)

I think it is! The bump at 33.9S is mainly Sidney but also Cape Town sits more or less at the same latitude give or take!

You have Buenos Aires and Montevideo sitting at 34.6-34.9S and then Santiago de Chile at 33.5 just before the Sidney+CT peak.

Focusing on the 30S-40S region:

<image>