Advertisement ยท 728 ร— 90

Posts by Steph Hazlitt

Post image

Real Canadian average hourly earnings continued to grow on a 12-month basis in August, according to the LFS. #cndecon

7 months ago 3 2 0 1
# unz() lets you connect to a .zip and treat it like a mini file system, 
# and you can load files from inside it
one_zipped_csv_among_others <- readr::read_csv(
  unz("lotsa_zipped_csvs.zip"), "one_csv.csv"
)

# readr::read_csv() can read a .zip with a single CSV in it
one_zipped_csv <- readr::read_csv("big_zipped_file.zip")

# unz() lets you connect to a .zip and treat it like a mini file system, # and you can load files from inside it one_zipped_csv_among_others <- readr::read_csv( unz("lotsa_zipped_csvs.zip"), "one_csv.csv" ) # readr::read_csv() can read a .zip with a single CSV in it one_zipped_csv <- readr::read_csv("big_zipped_file.zip")

Thing I just learned in #rstats: unz() lets you connect to a .zip and load files from inside it without actually unzipping it (great for a file I'm working with that's 30 MB zipped and 1+ GB unzipped, with multiple CSVs in it)

1 year ago 232 46 10 3
Preview
Bruce Arthur: Trump administration is Canadaโ€™s enemy, even if Albertaโ€™s premier sees it as a friend Danielle Smith might argue that the United States is not the biggest threat to Canadaโ€™s existence in its recent history, but the rest of us must have a clearer view

"Letโ€™s state this plainly: a sitting Canadian premier says she asked our enemy... to alter policy in order to help elect a... candidate who is better aligned with that enemy of the country."

I'm with Bruce: illegal or not, we can't treat this as politics-as-usual.

www.thestar.com/politics/pol...

1 year ago 283 124 4 7
Preview
Did Danielle Smith lobby the U.S. to help Pierre Poilievre? Sure looks like it An interview with Breitbart reveals some troubling partisan actions taken by the Alberta Premier
1 year ago 113 56 26 11
Post image

The Liberal number just keeps going higher ๐Ÿ˜ตโ€๐Ÿ’ซ ๐Ÿ‡จ๐Ÿ‡ฆ
www.economist.com/interactive/...

1 year ago 72 9 3 2
Post image

The step-by-step demolition of the US statistical system continues.

1 year ago 4 1 1 0

ABC News pulled all 538 content from their official website.

I made a backup of the `data` repo. I suggest if you need 538 stuff grab it while you can ASAP:

https://github.com/orgs/fivethirtyeight/repositories

1 year ago 4 2 1 0
Post image

Please tap the image to read better. Every morning, Monday to Friday, I write and share one of these gentle reminders on my Purrtreon.๐Ÿˆโ€โฌ›๐Ÿค

1 year ago 610 108 8 0
Preview
โ€˜We are not the 51st anythingโ€™: viral Canada ad gets Trump-inspired update Remake of 2000 Molson beer ad has the same message as Trump threatens tariffs: Canada will not cower to the US

ย ๐Ÿ‡จ๐Ÿ‡ฆ

1 year ago 1 0 1 0

(1/3) It needs repeating: in 1994, Ukraine was persuaded to give up its nuclear weapons to Russia in return for the US, the UK, and Russia guaranteeing Ukraineโ€™s sovereignty, security, and territorial integrity.

1 year ago 75934 22643 1762 971
Advertisement
Post image

From Bulgariaโ€™s best cartoonist, Christo Komarnitski

1 year ago 1722 587 20 22
Preview
It Was an Ambush Today marked one of the grimmest days in the history of American diplomacy.

"One of the Grimmest Days in American Diplomacy" โ€” yep

Gift link: www.theatlantic.com/ideas/archive/2025/02/uk...

1 year ago 3 2 0 0
Ukraine flag

Ukraine flag

1 year ago 9916 1185 136 21
A tiny trump figure in a chair next to a towering Zelensky captures the puny spirit of Trump's cowardice and Russian capitulation.

A tiny trump figure in a chair next to a towering Zelensky captures the puny spirit of Trump's cowardice and Russian capitulation.

Clay Bennett nails it.

1 year ago 8684 2259 74 61
Post image

๐Ÿ’™๐Ÿ’›

1 year ago 117 13 1 0

Please enjoy my last ever post at Climate.gov/ENSO Blog. This afternoon I was fired by the Trump Administration 15 days before my 2yr probationary period ended on March 13.
I have worked at NOAA since 2010, and I'm so incredibly proud of the work I did. If anyone wants a quote, let me know.

1 year ago 4698 1601 264 60
Preview
Tesla's market cap sinks below $1 trillion as stock slumps more than 8% Tesla shares have dropped dramatically since peaking in December, and Tuesday's decline pushed the company's market cap below $1 trillion.

Tesla stock is down 25% so far this year after dipping 8% yesterday. It's become humiliating to drive a Tesla in LA, and he's getting his ass kicked by China. I love this journey for Elon because there's still so much lower the stock can go. I believe in us!
www.cnbc.com/2025/02/25/t...

1 year ago 1422 217 59 20

The headline that 21 DOGE staffers have resigned is a little misleading. These were employees of the United States Digital Service, which existed pre-administration and was absorbed into Muskโ€™s team. These arenโ€™t the young idiots; these are actual civil servants.

1 year ago 6660 1435 86 53
Scatter plot of bill depth vs. length by species (color) and sex (symbol). It shows positive correlations for all species with males tending to have bigger bills than females.

sym <- c(1, 16)
pal <- c("darkorange","purple","cyan4")
plot(bill_dep ~ bill_len, data = penguins, pch = sym[sex], col = pal[species])

Scatter plot of bill depth vs. length by species (color) and sex (symbol). It shows positive correlations for all species with males tending to have bigger bills than females. sym <- c(1, 16) pal <- c("darkorange","purple","cyan4") plot(bill_dep ~ bill_len, data = penguins, pch = sym[sex], col = pal[species])

๐Ÿšจ The "penguins" data is coming to the base #rstats{datasets} in 4.5.0!

@ellakaye.co.uk & @HeathrTurnr.fosstodon.org.ap.brid.gy r prepared an adapted and a raw version of the data set based on the {palmerpenguins} ๐Ÿ“ฆ by @allisonhorst.bsky.social @apreshill.com and Kristen Gorman.

๐Ÿ“ˆ Scatter plot:

1 year ago 119 35 6 10
Preview
Air, an extremely fast R formatter We are thrilled to announce Air, a new R formatter.

@lionelhenry.bsky.social and I are so excited to finally announce Air - an extremely fast R code formatter! ๐ŸŽ‰

With Air, you'll never need to worry about styling your #rstats code ever again. All you need to do is save, and Air takes care of the rest.

www.tidyverse.org/blog/2025/02...

1 year ago 362 121 20 20
Advertisement
Post image Post image

StatCan reported today that new house prices dropped a slight 0.1% in January. Two days ago the Canadian Real Estate Association said existing house prices also declined marginally. Overall, house prices have been quite stable for the last twelve months or so. #cdnecon

1 year ago 3 2 1 0
Post image

No notes

1 year ago 35988 7817 732 299

I really liked this idea of using a histogram as a legend in a choropleth map (since land isn't unemployed; people are), so I made a little guide to doing it with #rstats, {ggplot2}, and {patchwork}

www.andrewheiss.com/blog/2025/02...

1 year ago 864 192 27 23

I wonโ€™t stop posting this.

1 year ago 3862 1523 62 37

Dear @pbsnews.bsky.social when a fascist is threatening an invasion and annexation of a sovereign nation you in fact do not have to respond by explaining how it would work

WTF is โ€œHereโ€™s what it would take to transform Canada from a nation to a stateโ€?

1 year ago 98 20 4 1
Preview
nanoparquet 0.4.0 - Tidyverse nanoparquet 0.4.0 comes with a new and much faster `read_parquet()`, configurable type mappings in `write_parquet()`, and a new `append_parquet()`.

nanoparquet 0.4.1 is out. Reads and writes Parquet files. Comes with a completely rewritten and surprisingly speedy `read_parquet()`, ability to read a subset of columns, `append_parquet()` which does _not_ rewrite the whole file, and lots more: www.tidyverse.org/blog/2025/01...
#rstats #parquet

1 year ago 81 21 3 1
Preview
Donโ€™t Buy a Tesla. Sell Your Tesla. Refuse a Tesla at the Rental Counter. Yesโ€”It Will Help. Elon Muskโ€™s car company is in a precarious spot.

Tesla's stock is ridiculously overvalued, and even a modest consumer boycott could tank the company, which accounts for the majority of Elon Musk's wealth.
The divestment movement weakened apartheid South Africa. Let's do that again. slate.com/business/202...

1 year ago 10241 3664 230 190
Preview
Gulf of Mexico - Wikipedia

Go to Google
Search "Gulf of Mexico"
Click the 3 little dots next to "Gulf of Mexico (Gulf of America)"
Choose "Send feedback"
Click "Gulf of America"
Click "Inaccurate content"
Click "Incorrect"
Tell Google the correct name
en.wikipedia.org/wiki/Gulf_of...

1 year ago 16643 5500 1995 719
Advertisement

This is all gold and worth a serious read by scientists trying to communicate the value of what we do.

1 year ago 9 3 0 0