Vinicius Oike
@viniciusoike.bsky.social
📤 66
📥 47
📝 50
Economist and Data Scientist |
https://restateinsight.com/blog
São Paulo, Brazil
reposted by
Vinicius Oike
Robin Brooks
14 days ago
As G10 countries succumb to simplistic populism, reckless fiscal policy and fiscal dominance of their central banks, the line between the G10 and EM is getting blurred. Real long-term interest rates in the G10 have begun to rise towards EM levels...
robinjbrooks.substack.com/p/the-global...
0
15
2
reposted by
Vinicius Oike
Posit
8 months ago
Closeread Prize winners are here! 🏆 Want to create engaging, scroll-based stories with your data? See stunning scrollytelling examples made with Quarto:
posit.co/blog/closere...
Learn more about Closeread and its power to create dynamic narratives. Congrats winners!
#Quarto
#RStats
#Python
loading . . .
2
93
39
Claude can be savage at times
16 days ago
0
2
0
What happens when you get lazy and don't follow your own advice...
add a skeleton here at some point
20 days ago
0
2
0
Happy to know I'm not the only one who creates a ggplot2 theme package for every company I work with
#positconf
. Not only does it standardize communication, but it also makes a great impression. theme_quintoandar() took about a day to make and led to me reporting directly to the C-level.
20 days ago
0
1
0
Been working with ClaudeCode for the past ~2 months (mainly R and Quarto). My main tips: 1. Plan a lot. 2. Manually approve (auto-accept only for very simple tasks). 3. Create knowledge that can be referenced. 4. Avoid /compact and auto-compacting.
22 days ago
1
1
0
I've been using Air since switching to Positron and have been loving it. My only criticism is the styling of tibbles (it just breaks them). Apparently that has been solved # fmt: tabular coming soon
#PositConf
22 days ago
0
8
2
reposted by
Vinicius Oike
Kyle Walker
28 days ago
The fastest way to start using & exploring the new 2024 1-year ACS data? R with tidycensus + mapgl. With just a few lines of code, you can pull down any of the thousands of variables available in the new data and explore on an interactive MapLibre map.
loading . . .
1
25
5
reposted by
Vinicius Oike
The New York Times
28 days ago
Jair Bolsonaro was sentenced to more than 27 years in a Brazil prison for attempting a coup after losing the 2022 election.
loading . . .
Bolsonaro Convicted of Attempting a Coup in Brazil, Sentenced to 27 Years in Prison
Brazil’s Supreme Court convicted the former president of trying to cling to power after losing the 2022 election, including a plan to assassinate his opponent.
https://nyti.ms/4ntK3Al
93
1005
289
reposted by
Vinicius Oike
sarah
about 2 months ago
I was loving Claude Code... until I tried it with
#rstats
. Constant errors, wouldn't use the tidyverse even when asked, "optimized" functions were slower. Frustrated, I started a session just to teach R to Claude and summarize what it learned into a
CLAUDE.md
file
gist.github.com/sj-io/3828d6...
loading . . .
Claude R Tidyverse Expert
Claude R Tidyverse Expert. GitHub Gist: instantly share code, notes, and snippets.
https://gist.github.com/sj-io/3828d64d0969f2a0f05297e59e6c15ad
11
113
27
reposted by
Vinicius Oike
Kyle Walker
about 1 month ago
Saw a post from an influencer telling followers to "stop using R for anything -- use Python like a normal person" As a 10+ year R & Python user, the irony is that 2025 is the best time EVER to be using R. Here's why:
1
47
10
What a great piece on online advertising. Summarizes beautifully my frustrations when working as a data scientist (with econ background) in a big marketing department. Leaders justified decisions with bad metrics, fueled by biased samples.
thecorrespondent.com/100/the-new-...
loading . . .
The new dot com bubble is here: it’s called online advertising
In 2018 $273bn was spent on digital ads globally. We delve into the world of clicks, banners and keywords to find out if any of it is real. What do we really know about the effectiveness of digital ad...
https://thecorrespondent.com/100/the-new-dot-com-bubble-is-here-its-called-online-advertising/13228924500-22d5fd24
about 2 months ago
1
2
1
Forgot some Positron shoutouts,
@andrew.heiss.phd
has a nice post talking about Positron (
www.andrewheiss.com/blog/2024/07...
) and Albert Rapp also has one (
3mw.albert-rapp.de/p/using-the-...
)
loading . . .
Fun with Positron | Andrew Heiss
Combine the best of RStudio and Visual Studio Code in Posit’s new Positron IDE
https://www.andrewheiss.com/blog/2024/07/08/fun-with-positron/
2 months ago
2
12
3
Almost reaching 100 posts in my blog
restateinsight.com/blog
. Feel like it's time to reorganize things. I created this blog back in 2019 to post R tutorials on econometrics and data visualization. I posted everything in Portuguese since I felt there was lack of R-related materials in Portuguese.
loading . . .
Blog – Vinicius Oike
https://restateinsight.com/blog
2 months ago
1
3
1
Overall, Positron has some great benefits over RStudio. It's faster, lighter, and after some customization looks a lot nicer. There are still issues. The main one that comes to mind is the overall inferior autocomplete. Also, autocomplete for Quarto docs seems to breakdown at some point.
2 months ago
1
4
2
Last month I tried to pick up Positron as my main IDE. First two weeks were rough and I found myself going back to RStudio some times for both Quarto and R. After much stress I am now using Positron daily. The process did make me realize how much of a petty person I am when it comes to IDEs.
2 months ago
1
0
0
reposted by
Vinicius Oike
econmaett
2 months ago
Brazil 🇧🇷 has a tremendous R community. Check out {sidrar} for the Instituto Brasileiro de Geografia e Estatistica (IBGE) and follow
@viniciusoike.bsky.social
(and while you‘re at it, follow
@beatrizgietner.bsky.social
)!
#rstats
#econsky
#stats
cran.r-project.org/package=sidrar
loading . . .
sidrar: An Interface to IBGE's SIDRA API
Allows the user to connect with IBGE's (Instituto Brasileiro de Geografia e Estatistica, see <<a href="https://www.ibge.gov.br/" target="_top">https://www.ibge.gov.br/</a>> for more information)...
https://cran.r-project.org/package=sidrar
2
3
3
reposted by
Vinicius Oike
Madeleine Bonsma-Fisher, PhD
6 months ago
City of London: - 57% more cycling since 2022 - 1.8 times more bikes than cars - People walking, wheeling and cycling now make up 75% of observed travel activity - Motor vehicle volumes down 70% since 1999
www.cityoflondon.gov.uk/assets/Servi...
3
141
42
reposted by
Vinicius Oike
Scott Horton
5 months ago
Economic contraction in the US is attributable entirely to tariffs
16
434
143
Still missing some plots, but wanted to share this one. Day 25
#30DayChartChallenge
| Uncertainties: Risk The plot shows the "Brazil Risk" measured by the EMBI+ and highlights key economic/political events. This index broadly measures the risk that foreign investors face when investing in Brazil.
5 months ago
0
4
2
Day 30
#30DayChartChallenge
| National Geographic This chart shows the deforestation of the Amazon rainforest over the years, based on satellite imagery. This year's COP30 will take place in Belém, Pará—a state that has consistently ranked among the top 2 in deforestation, since 1988.
5 months ago
0
2
2
reposted by
Vinicius Oike
Rachel Maddow
5 months ago
...and he's doing this with his party in control of both houses of congress
www.ft.com/content/9d3e...
359
6008
1872
Day 29
#30DayChartChallenge
| Uncertainties: extraterrestrial For day 29, I aggregated U.S. box office numbers for movies featuring aliens—any kind of extraterrestrial life counts. Alien sci-fi really dipped between 1986 and 1995 (Predator 2, Alien 3, Coneheads...).
5 months ago
1
5
4
Day 4
#30DayChartChallenge
| Comparisons: Big or Small Choropleth maps of Brazil can be very deceiving. The Midwest and North regions cover about 65% of the country’s area but house only 16% of its population. Maps show Aging Index: ratio of the pop. aged 65 and over to those aged 14 and under.
5 months ago
2
10
3
Day 27
#30DayChartChallenge
| Uncertainty: Noise For day 27 I present several plots describing statistical properties of white noise.
5 months ago
0
4
2
Day 15
#30DayChartChallenge
| Relationships: Complicated For day 15 I show the growing gap between rental prices and sales prices in Brazil. As of February 2025, house prices, on average, have increased 58% more than rental prices. This phenomenon is seen across several major Brazilian cities.
6 months ago
0
8
2
Day 13
#30DayChartChallenge
| Relationships: Clusters The map shows the number of job opportunities accessible within a 30-minute drive during peak hours. The data comes from the AOP project (
github.com/ipeaGIT/aopd...
)
6 months ago
0
27
9
Day 11
#30DayChartChallenge
| Distributions: Stripes An updated version of the classic Ed Hawkins global warming stripes.
6 months ago
0
8
3
Day 10
#30DayChartChallenge
| Distributions: Multi-modal Cars accidents are usually strongly correlated with rush hours. Even though, there's the usual early morning and late afternoon peaks, it feels like it's always rush hour if there's daylight in São Paulo.
6 months ago
0
5
2
Day 7
#30DayChartChallenge
| Distributions: Outliers Wealth inequality is very high among Brazilian cities. Maricá, an oil royalty recipient, is 74 times wealthier than the poorest city on the list.
6 months ago
0
2
2
Day 26
#30DayChartChallenge
| Uncertainties: Monochrome Economic recessions have decoupled electric energy consumption and real GDP in Brazil. A big gap appeared after the 2014-16 economic crisis.
6 months ago
0
5
2
Day 9
#30DayChartChallenge
| Distributions: Diverging The charts show the geographical disparities in illiteracy rates across Brazil. Overall, cities in the Northeast show significantly higher rates than those in other regions.
6 months ago
1
12
3
Day 3
#30DayChartChallenge
| Comparisons: Circular Do people live near downtown? I estimate the number of people living within a 6 km radius of their city's downtown. The street colors represent nearby population density: darker shades indicate lower values, lighter shades represent higher.
6 months ago
1
7
2
Day 19
#30DayChartChallenge
| Time-series: Smooth This plot shows the daily closing price of the S&P500 Index since October 2024 with several different smoothing and trend estimation techniques. Shoutout to base R (lots of convenient smoothers in stats) and TTR.
6 months ago
1
5
2
Day 20
#30DayChartChallenge
| Time-series: Urbanization The rise of solo-living is a global trend and Brazil is following suit. Single family households have been increasing in all states. Currently, 18 million live by themselves in Brazil.
6 months ago
0
4
2
Day 21
#30DayChartChallenge
| Time-series: Fossils For day 21, I chose to make a plot showing the continued rise of global fossil fuel consumption.
6 months ago
0
9
2
Day 22
#30DayChartChallenge
| Time-series: Stars The plot shows sunspot cycles and the contraction cycles of the US economy in the past 150 years. The plot was made with ggplot2 and R.
6 months ago
0
5
3
Day 23
#30DayChartChallenge
| Time-series: Log-scale Economists really love their logs and this love is justified. Despite the nasty log(x + 1), applying a logarithmic transformation helps modeling in too many ways to list. For most macroeconomic time series, logs are the way to go.
6 months ago
1
4
3
you reached the end!!
feeds!
log in