Internal links in xaringan presentations

I am currently revising the slides for the next iteration of my workshop on writing reproducible research papers with R Markdown. It will take place at Campus Luzern, over two full days, in November 2020. With over 200 slides in the presentation, I thought it is now time to introduce some internal links to facilitate the navigation across the different parts of the presentation, which is written with xaringan.

Read More…

Search your Twitter likes

Update (November 2024): Since the publication of this post, Twitter has revised its API access policies, and it is no longer freely accessible in the same way it once was. As a result, the app described in this post does no longer work and has therefore been taken offline. If you are interested in the code behind the app, that is still available at https://github.com/resulumit/LikeWise. This post introduces LikeWise — a Shiny app that retrieves and filters users’ likes on Twitter.

Read More…

Political science journals

This post introduces psjournals — a new dataset on political science journals as well as an R package and a Shiny app that accompany the dataset. If you are looking for quick directions, click here for the package, here for the app. Some might find this dataset useful for teaching, if not for research. However, many are likely to use psjournals for selection purposes — to see where they can submit their manuscript for consideration.

Read More…

R Markdown workshop

Click here for the slides, and here for all the workshop materials. R Markdown has been at the centre of my research workflow for some time. It allows me to tidy and analyse data, create tables and figures, manage citations and references, and write up the results in one screen. And if, say, a regression table needs a new model, it often takes only a few lines of code and a click to reproduce the output — be it a PDF, HTML, and/or a Word document.

Read More…

Google Scholar ranking of political science journals

This blogpost has led to an app that filters data on political science journals, including the journal indexes covered here. Try it out at https://resulumit.shinyapps.io/psjournals. Here is a list of all political science journals in the Social Science Citations Index (SSCI),* ranked according to their h5-index on Google Scholar. Google Scholar provides a similar list of top journals in political science, but this includes only the top 20 journals. I was wondering how the list looked below this number.

Read More…

Open access journals in political science

I have created a list of open access journals in political science—journals that make all of their articles freely accessible without delay. Please bear in mind that this is not an exhaustive list and that editorial policies change. If you notice that one or more journals are missing or that one or more existing entries need updating, please send me an email. I would be happy to hear from you.

Read More…

Research notes in political science journals

The data in this blog post was last updated in November 2024. It previously led to the development of an app that allows users to filter data on political science journals, including different article types. Try it out at https://resulumit.shinyapps.io/psjournals. In addition to ‘regular’ articles, some political science journals publish shorter manuscripts as well. They are often called research notes, but the name, and indeed the format itself, can differ from one journal to another.

Read More…

Calculating standard deviations for survey subgroups in R

The survey package is one of my favourites in R. Among its many other uses, it can compute summary statistics by subgroups. For example, if you have a survey of individuals from several countries with an item on the respondents’ income, you can calculate the average income in each subgroup with the svyby() function. However, like many other functions in the package, svyby() returns standard errors—but not standard deviations—of the mean values.

Read More…

EU press releases differ from their reports on Turkey

The European Commission publishes annual reports on the progress of EU candidate countries, accompanied by short press releases. I find noticeable differences between these reports and releases on Turkey; while the sentiments in the reports have been fairly stable over the years, the press releases often remarkably diverge from the reports. The Commission’s latest report on Turkey hit the headlines as the worst EU scorecard so far. To see if there is evidence for this claim, I analysed the sentiments in the EU reports on Turkey since 2005—the year the accession negotiations started.

Read More…

Media coverage of presidential candidates in Turkey

When Dogan Media was bought by a pro-Erdogan businessman, many suspected a change in the position of its news outlets in the long-run. I compare the tweets by Hurriyet—Dogan’s top-selling daily—in two presidential elections, before and after the sale. I find unmistakable changes in the way the newspaper approached the candidates, increasing its bias towards Erdogan in the election months after the sale. Most news media are divided into pro- and anti-Erdogan camps in Turkey.

Read More…