Steph Hazlitt

Steph Hazlitt

@stephhazlitt.bsky.social

data science, OSS, #rstats + ๐Ÿ, birds, good โ˜•๏ธ ๐Ÿ‡จ๐Ÿ‡ฆ ๐ŸŒˆ (she/her)

94 Followers 176 Following 4 Posts Joined Nov 2024
5 months ago
Post image

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

3 2 0 1
10 months ago
# 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)

232 46 10 3
11 months ago
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...

283 124 4 7
11 months ago
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
113 56 26 11
11 months ago
Post image

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

72 9 3 2
1 year ago
Post image

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

4 1 1 0
1 year ago

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

4 2 1 0
1 year ago
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.๐Ÿˆโ€โฌ›๐Ÿค

611 108 8 0
1 year ago
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 0 1 0
1 year ago

(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.

76,018 22,667 1,764 971
1 year ago
Post image

From Bulgariaโ€™s best cartoonist, Christo Komarnitski

1,723 588 20 22
1 year ago
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: https://www.theatlantic.com/ideas/archive/2025/02/ukraine-us-relations-trump/681880/?gift=SkZXWJCESUtVthsYJQBBHxJN-2qfZCyWI_TKprIJWbY&utm_source=copy-link&utm_medium=social&utm_campaign=share

3 2 0 0
1 year ago
Ukraine flag
9,926 1,188 136 21
1 year ago
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.

8,692 2,261 74 61
1 year ago
Post image

๐Ÿ’™๐Ÿ’›

117 13 1 0
1 year ago

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.

4,705 1,604 266 60
1 year ago
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,424 217 59 20
1 year ago

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.

6,667 1,437 86 53
1 year ago
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:

119 35 6 10
1 year ago
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...

362 121 20 20
1 year ago
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

3 2 1 0
1 year ago
Post image

No notes

36,027 7,827 734 299
1 year ago

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...

865 192 27 23
1 year ago

I wonโ€™t stop posting this.

3,867 1,525 62 37
1 year ago

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โ€?

98 20 4 1
1 year ago
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

81 21 3 1
1 year ago
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...

10,254 3,673 231 191
1 year ago
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...

16,660 5,503 1,997 721
1 year ago

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

9 3 0 0