Jens von Bergmann @jensvb.bsky.social · 10hCurrent status, I am becoming the Joker.static.klipy.comCoringa Gjirlfriend: Joker's GazeALT: Coringa Gjirlfriend: Joker's Gaze 0110
Jens von Bergmann @jensvb.bsky.social · 11hcanstreet is also affected, the Road Network Files aren’t accessible any more. We already host old vintages that are only available via EFT, we might have to do the same for all vintages.github.comStatCan disabled programmatic download · Issue #1 · mountainMath/canstreetLast week StatCan disabled programmatic download of a range of data products, including the Road Network Files. For related information refer to mountainMath/cancensus#228 As is this package is not... 020
Reposted by Jens von BergmannPhil Smith @philsmith26.bsky.social · 16hThis is a reminder that I have several table viewers and dashboards available, free of charge and with no registration or use authorization necessary. philipsmith.ca/dashboards/philipsmith.caSelected Canadian Economic Table Viewers and Dashboards 073
Jens von Bergmann @jensvb.bsky.social · 18hThis is the first of the fixes to StatCan starting last week to block programmatic download of some data, breaking reproducible workflows. This affects all www12 pages from StatCan, these now sit behind Cloudflaire "human" verification. The www and the www150 endpoints remain unaffected for now. 040
Jens von Bergmann @jensvb.bsky.social · 20hThere is a new vignette that walks through how to use the anomaly detection and dissolution of offending boundaries. The method can be applied to existing timeline data or to results of plain TongFen, and it results in slightly coarser geography by dissolving problematic geographic boundaries.mountainmath.github.ioGeocoding anomalies in TongFen timelines 140
Jens von Bergmann @jensvb.bsky.social · 20hAn example of this is the 1971-2011 semi-custom tabulation of census profile data on 2016 DA geography where this method was developed in response to clear signals of cross-boundary geocoding errors. More details on methods and rationale are in this post.doodles.mountainmath.caGeocoding errors in aggregate data – Mountain DoodlesGeocoding errors can become a problem, especially in temporal data where geocoding processes have changed over time. We propose a method to detect and ameliorate geocoding errors in aggregate data. 130
Jens von Bergmann @jensvb.bsky.social · 20hThis update also fixes some edge case bugs and adds a new feature: anomaly detection and fix. Temporally linked fine geography (census) data requires consistent geocoding, but most geocodes are subject to significant model drift that sometimes crosses (census) geographies and introduces artefacts. 130
Jens von Bergmann @jensvb.bsky.social · 20hTongfen v0.3.9 is now on CRAN. This fixes the problem introduced by StatCan blocking programmatic data download starting last week, we now host the correspondence files independently. This restores package functionality at the cost of complicating data provenance.mountainmath.github.ioMake Data Based on Different Geographies ComparableSeveral functions to allow comparisons of data across different geographies, in particular for Canadian census data from different censuses. 1131
Jens von Bergmann @jensvb.bsky.social · 22hThe simple solution that everyone else has implemented is to require a free API key for data access so abusers can be identified and blocked. 000
Jens von Bergmann @jensvb.bsky.social · 04/10/2026canivt is also affected, but probably not in a critical way that requires re-hosting. Programmatic data download is not that central to this package, and instructing users to work around the StatCan block via a manual download and deposit is annoying but not a deal breaker.github.comStatCan is blocking programmatic download of older IVT tables · Issue #1 · mountainMath/canivtStatCan is now blocking programmatic access to some IVT files, this affects pre-2021 downloads. It also affects functions that build the catalogue. Cached and the list shipped with the package stil... 170
Jens von Bergmann @jensvb.bsky.social · 04/10/2026Yes! Some already do this, e.g. City of Vancouver Open Data portal now serves parquet files. StatCan unfortunately does not, but the cansim, canivt, and canpumf R packages all use parquet or DuckDB under the hood now to increase performance for users after download. 0122
Jens von Bergmann @jensvb.bsky.social · 03/10/2026Still trying to assess the blast radius of StatCan putting their entire site behind Cloudflare verification. TongFen is also affected, and in this case it's core functionality. StatCan correspondence files are the most widely used path to harmonize geographies over time.github.comStatCan disabled programmatic download of correspondence files · Issue #19 · mountainMath/tongfenThe correspondence files now can't be downloaded programmatically any more. This breaks a key functionality of the TongFen package. For example, the 2021 DA correspondence file now requires Cloufla... 2120
Jens von Bergmann @jensvb.bsky.social · 03/10/2026It’s not core package functionality, all of that is controlled by me and goes through CensusMapper (StatCan still does not have a useful API for census data), its more custom functionality for cases where users need geographic data or attributes for all of Canada. But it’s still annoying. 010
Jens von Bergmann @jensvb.bsky.social · 03/10/2026My take, the IT team noticed a pickup in bot traffic and did the lazy thing. Enabled by failure of leadership to be clear about the purpose of making the data available for download in the first place. (I waited a bit to see if this was just a stop-gap measure, but it’s been like this all week now.) 140
Jens von Bergmann @jensvb.bsky.social · 03/10/2026Good Saturday morning to everyone except StatCan, who decided to break reproducible workflows by disabling programmatic data download for some of their data and put it behind a Cloudflare "human" check. Leaving me to decide whether to remove cancensus package functionality or re-host the data.github.comStatCan disabled programmatic download on some census data · Issue #228 · mountainMath/cancensusStatCan has disabled programmatic download on the attributes file and geographic data and possibly other files. These are now behind a CloudFlare verification that requires manual interactive downl... 84710
Jens von Bergmann @jensvb.bsky.social · 03/10/2026And they are maximally inaccessible. Canadian codes are so broken. 080
Jens von Bergmann @jensvb.bsky.social · 03/10/2026Glad we re-legalized them. Makes one wonder what other ways to provide housing was legal back then and should be re-legalized… 030
Jens von Bergmann @jensvb.bsky.social · 03/10/2026I probably read too much into the language in the TCP application, it suggested to me that it was only available for people with affiliation at academic institutions. But maybe that's not the case? 100
Jens von Bergmann @jensvb.bsky.social · 03/10/2026Maybe I got the licensing on each of these wrong in my scan that I linked above? Some of these I can access, e.g. IPUMS. Some come with a very permissive license. Some CCRI data is locked up under DLI/OCUL and unavailable. 200
Jens von Bergmann @jensvb.bsky.social · 02/10/2026Which is why MD is consedered a professional degree not an a ademic graduate degree. 010
Jens von Bergmann @jensvb.bsky.social · 02/10/2026This is great, but also quite unfortunate that the data comes with a very restrictive licence. Just the other day I was looking into what it would take to add this data to campumf, but only the 1881 data come with an Open Data license. Maybe another effort to transcribe these can resolve that.github.comHistorical (pre-1931) census microdata: full-count TCP files and public-use samples, import path for canpumf · Issue #25 · mountainMath/canpumfCensus microdata older than 92 years is fully public in Canada, and several transcribed, machine-readable files exist for 1852–1921 with household linkage. None of them are reachable through canpum... 152
Jens von Bergmann @jensvb.bsky.social · 02/10/2026A type of failure to return to pre-pandemic levels I can get fully behind. Still not liking the trend though, it's high time we turn this around for good. canviz.mountainmath.ca/plot?v=74726 0193
Reposted by Jens von BergmannGavin Schmidt @climateofgavin.bsky.social · 02/10/2026Not only are the flat earthers wrong, they are getting wronger by the day. 636371
Reposted by Jens von BergmannNathan Lauster @lausterna.bsky.social · 01/10/2026Just putting it out there that I am a voter who cares about climate change and regular summer wildfires and my own kids' future and stuff and I would also like to see some election pandering - like ANYTHING - thrown in my direction. I mean, the Carbon Tax was doing a lot of emotional work for me. 0283
Jens von Bergmann @jensvb.bsky.social · 01/10/2026That’s totally different. Buildings cast shadows, whereas trees provide shade. 😎 1602
Jens von Bergmann @jensvb.bsky.social · 01/10/2026Yeah, and the method used to harmonize census tracts over time is another one of my pet peeves. Why are we still using non-spatial methods for decidedly spatial problems and pretend p-values and R^2 have meaning? 000
Reposted by Jens von BergmannJustin Ling @justinling.ca · 01/10/2026I spent the summer trying to understand what makes Mark Carney's government tick. What I found is a C-Suite obsessed with efficiency — which is trying to ignore what's deeply broken. www.thestar.com/opinion/star...thestar.comJustin Ling: Who does Mark Carney really listen to? I asked the insidersIt’s become clear that the prime minister would much rather circumvent problems than fix them. 1622792
Jens von Bergmann @jensvb.bsky.social · 01/10/2026I got so many opinions. The (forced) lack of amenities is probably a non-negligible part why that area is relatively affordable. (Everything is a trade-off.) At least the city did not repeat that mistake in Marine Gateway. 160
Jens von Bergmann @jensvb.bsky.social · 01/10/2026If you are going to do that and cc me so I can be in the loop that would be much appreciated. I like the general direction of this and think it’s useful analysis. 000
Jens von Bergmann @jensvb.bsky.social · 01/10/2026On the other hand, I should not complain too loudly. I am certainly guilty of this myself, and fixing this in an interactive JavaScript setting requires building up the necessary machinery there which is a lot of work. Which I have not put in for CensusMapper.censusmapper.caEducation vs unemployment | CensusMapperThis map shows the relationship between education (share of the population 25-64 years with a Bachelor degree or higher) and the unemployment rate. And it highlights the geographic variation in this r... 010
Jens von Bergmann @jensvb.bsky.social · 30/09/2026Yes, I imagine it’s something like this, but there are many ways to skin that cat. And some are more useful than others. The baseline number of doubled up would-be (in some counterfactual scenario) separate household units is much larger than the population spike and this needs careful treatment. 120
Jens von Bergmann @jensvb.bsky.social · 30/09/2026Rental households can’t increase fast than rental units, they are the same thing by definition. I agree most NPR were renters, although we know that NPR household formation rates are significantly below the overall Canadian average. But that’s all part of the question of how “household” was defined. 131
Jens von Bergmann @jensvb.bsky.social · 30/09/2026Interesting! Could not find details on how this was actually done though. E.g. “the number of renter households increases faster than the supply of rental units” is obviously bonkers and makes me think their definition of “household” is unorthodox, but there are no details how it’s defined. 141
Jens von Bergmann @jensvb.bsky.social · 30/09/2026Don’t use naive regression but use statistical tools designed for ecological inference. E.g. Gary King’s ecological inference estimator or variants of it. 120
Jens von Bergmann @jensvb.bsky.social · 30/09/2026Obvious concerns about unmitigated ecological fallacy aside, this is a lot of fun to play with. (Pretty confident much of this would survive if this were handed properly, missed opportunity to put some methodological rigour behind this that would elevate this from toy to actual insights.) 2110
Reposted by Jens von BergmannLaura White, P.Eng. @lecwhite.bsky.social · 30/09/2026laurawhite.ca/nova-scotia-...laurawhite.caNova Scotia Capped Assessment Program Impacts - Laura White, Councillor for District 7Council received a presentation, asked questions of clarification of staff and then debated a motion regarding the Nova Scotia Capped Assessment Program 0184
Jens von Bergmann @jensvb.bsky.social · 30/09/2026I guess in an environment where everyone gets used to highly discretionary permitting things like bribery and kickbacks just get casually referred to as getting someone to “work magic” and help “navigating” city hall. 092
Jens von Bergmann @jensvb.bsky.social · 28/09/2026There was a major LFS redesign in 1976 and as far as I know the previous version was never made available as PUMF. 110
Reposted by Jens von BergmannAlberto Cairo @albertocairo.com · 28/09/2026Lovely and deep visual op-ed by Giorgia Lupi: "A.I. is a different kind of technology, because it can deliver an end result before creative thinking has happened at all" www.nytimes.com/interactive/...nytimes.comOpinion | A.I. Shortcuts Are Ruining How We Think (Gift Article)Anything worth remembering came from a person who did not know where she or he was going until arriving. 25025
Jens von Bergmann @jensvb.bsky.social · 28/09/2026The importance of long division is that it’s an algorithm that always works. The first one kids learn at school. A recipe or procedure to follow, that is unforgiving if you mess up a step. A foundation for learning other types of algorithms in math later on. 1211
Jens von Bergmann @jensvb.bsky.social · 28/09/2026This reminds me of when the New Math movement argued kids don’t need to learn fractions because of calculators. Fortunately that got reversed, but only after a generation of children failed algebra. If you can’t manipulate fractions with numbers it’s hard to learn how to manipulate it with symbols. 1161
Jens von Bergmann @jensvb.bsky.social · 25/09/2026Don’t worry, upticks don’t sell. Only downticks make the news. 030
Jens von Bergmann @jensvb.bsky.social · 25/09/20262025 fertility rate estimates came out yesterday, posting the obligatory annual graph. Overall Canada TFR remained steady at 1.26. (As a reminder, TFR is a synthetic measure and general cautions apply, especially if you want to write about this in the news media or have arguments about this.) 190
Jens von Bergmann @jensvb.bsky.social · 25/09/2026Historical LFS microdata differs somewhat from their modern 2006+ version, it gets stored in a separate local DuckDB. `get_lfs_timeline` harmonizes the two and hands back a single lazy connection to the joint tables for simple and fast cross-database operations. Code runs in a fraction of a second. 120
Jens von Bergmann @jensvb.bsky.social · 25/09/2026canpumf v0.6.0 is now on CRAN. This is version comes with major new features: * Discover and import PUMF from Borealis Dataverse * LFS monthly PUMF back to 1976 * LFS harmonization * more robust handling of StatCan mojibake, undeclared NA labels and other StatCan metadata issuesmountainmath.github.ioParse StatCan PUMF FilesFacilitate working with Statistics Canada (StatCan) Public Use Microdata Files (PUMF). Enables downloading of available PUMF data, parsing of metadata from command files or other sources to infer the ... 150
Reposted by Jens von BergmannOneCity Vancouver @onecityvan.bsky.social · 24/09/2026Do you live in Vancouver, do you want a home of your own? What about just the dignity of renting without the fear of eviction? OneCity has a team and a plan for that, The Way Home & Housing for All www.onecityvancouver.ca/news/housing... #VanPoli 23615