PWPiotr Wójcik

Piotr Wójcik

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Piotr Wójcik has a total of 49 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Spatial data and classes in R

    by Maria Kubara, Piotr Wójcik

    Chapter 2 provides a comprehensive introduction to modern spatial data handling in R, with a focus on the applications of the sf:: package. It begins by outlining the three core types of spatial data - points, lines, and polygons - and the key operations necessary for spatial analysis. It then contrasts the two most important approaches to spatial data processing in R: the traditional sp:: approach and the more modern, scalable sf:: framework, which integrates spatial data into data frames for seamless manipulation within the tidyverse:: environment. It demonstrates how to import and manipulate spatial data using the sf:: package, how to apply key spatial operations such as buffering, intersection, and join, and how to efficiently integrate spatial datasets with economic and social data. It also covers the use of tidyverse:: functions with sf objects. This chapter is essential for undertaking further spatial analysis and visualisation in R.

  • Open Access

    Beyond Counting Tickets: Developing Performance Indicators for Municipal Parking Enforcement - the case of Poland

    by Piotr Wojcik, Szymon Nieradka, Maciej Świtała

    Despite the central role of municipal parking enforcement in urban transport governance, no established framework exists for evaluating the performance of enforcement agencies in a comprehensive and comparative way. This paper addresses that gap by developing and applying a multidimensional composite index to assess city guard performance across eighteen Polish voivodeship capitals. Drawing on an extensive dataset collected through freedom-of-information requests to city guards, road managers, police precincts, and national institutions, the index integrates thirteen indicators spanning five dimensions: organisational capacity, enforcement productivity, intervention quality and proportionality, safety outcomes, and institutional context. The analysis reveals substantial cross-city variation, with composite scores ranging nearly fivefold across the sample. Crucially, this variation is not explained by resource levels alone: cities with comparable budgets and staffing exhibit markedly different enforcement profiles, suggesting that organisational priorities and governance choices play a more decisive role than institutional investment. Furthermore, a structural gap in urban deterrence is documented: in most of the cities, the cost of non-compliance with paid parking is higher than the penalty for illegal parking. This pattern validates rational-choice theory and indicates weakened enforcement efficacy.. The methodological framework proposed here is designed to be transferable beyond the Polish context, contributing to a broader international debate on how cities can design, evaluate, and improve the institutions responsible for managing one of the most contested dimensions of urban public space.

  • Open Access

    Czynniki kształtujące postawy podatników wobec obowiązków podatkowych

    by Janusz Kudła, Konrad Walczyk, Tomasz Tratkiewicz, Beata Rogowska-Rajda, Paweł Baranowski, Piotr Wójcik

    Purpose | The aim of this article is to review the literature on taxpayer non-compliance and to show that there has been an evolution in thinking on this issue, which is of fundamental importance for tax policy and tax collection. Research method | The research method consists of studying literature on taxpayer behavior. The development of theory and the results of empirical research on factors that shape taxpayers’ attitudes toward tax obligations will be discussed. Results | Traditional tax deterrence policies are insufficient to ensure that taxpayers comply with their tax obligations to a satisfactory degree, and may even lead to in creased obstruction (the so-called backfiring effect) if they intensify strong negative emotions among taxpayers. Originality / value / implications / recommendations | We point out that reducing the scale of taxpayer non-compliance requires tax policy and tax collection to take into account how taxpayers perceive the government and what emotions the fulfillment of their tax obligations evokes in them.

  • Open Access

    Algorithmic crypto trading using information-driven bars, triple barrier labeling and deep learning

    by Przemysław Grądzki, Piotr Wójcik, Stefan Lessmann

    This paper investigates the optimization of data sampling and target labeling techniques to enhance algorithmic trading strategies in cryptocurrency markets, focusing on Bitcoin (BTC) and Ethereum (ETH). Traditional data sampling methods, such as time bars, often fail to capture the nuances of the continuously active and highly volatile cryptocurrency market and force traders to wait for arbitrary points in time. To address this, we propose an alternative approach using information-driven sampling methods, including the CUSUM filter, range bars, volume bars, and dollar bars, and evaluate their performance using tick-level data from January 2018 to June 2023. Additionally, we introduce the Triple Barrier method for target labeling, which offers a solution tailored for algorithmic trading as opposed to the widely used next-bar prediction. We empirically assess the effectiveness of these data sampling and labeling methods to craft profitable trading strategies. The results demonstrate that the innovative combination of CUSUM-filtered data with Triple Barrier labeling outperforms traditional time bars and next-bar prediction, achieving consistently positive trading performance even after accounting for transaction costs. Moreover, our system enables making trading decisions at any point in time on the basis of market conditions, providing an advantage over traditional methods that rely on fixed time intervals. Furthermore, the paper contributes to the ongoing debate on the applicability of Transformer models to time series classification in the context of algorithmic trading by evaluating various Transformer architectures—including the vanilla Transformer encoder, FEDformer, and Autoformer—alongside other deep learning architectures and classical machine learning models, revealing insights into their relative performance.


  • Open Access

    Can nighttime lights serve as a proxy for economic inequality at the local administrative unit scale? Evidence from Spain

    by Xaquín S. Pérez-Sindín, Piotr Wójcik, Tzu-Hsin Karen Chen, Alexander V. Prishchepov

    Economic inequality remains a pressing issue, with localized disparities becoming increasingly visible. Monitoring these subnational dynamics is often constrained by the availability of timely, reliable data. This study evaluates the potential of nighttime light (NTL) data to proxy economic inequality at the scale of local administrative units (municipalities), using Spain as a case study. Spain is among the most unequal EU countries by the Gini index and has published municipal income distribution records since 2015. Its geographic and demographic diversity provides a robust setting for testing NTL-based measures with broader applicability. We combine two remote-sensing products (VIIRS and Harmonized NTL) with WorldPop gridded population data to compute lights-per-capita for each pixel. Within each municipality, Gini coefficients are calculated using pixels as the unit of analysis, enabling fine-grained spatial estimation of inequality. We derive Gini values for over 8,000 municipalities for 2015–2020 and compare them with official income-based Gini coefficients from Spain’s tax administration. Relationships between light- and income-derived measures are assessed using cross-sectional regressions and multilevel panel models. Results show statistically significant associations between NTL- and income-derived Gini coefficients, particularly in smaller settlements and rural areas. Panel models outperform cross-sectional models, indicating that NTL data capture temporal changes in inequality even when contemporaneous correlations are modest. Some regions exhibit elevated NTL-derived inequality despite low official estimates—often where unemployment or informal economic activity is prevalent—suggesting that light-based metrics detect disparities not fully reflected in formal income statistics. These findings demonstrate the promise of NTL-derived indicators as scalable, low-cost, and globally replicable tools for monitoring inequality in both data-rich and data-poor settings. As subnational disparities gain importance, this framework offers a practical avenue for fine-grained and inclusive socioeconomic monitoring. Future work should integrate additional spatial layers—such as urban form, infrastructure, and demographics—to refine accuracy and interpretation.


  • Open Access

    New dataset on income support in Poland’s rural areas

    by Jan Fałkowski, Piotr Wójcik

    In this article, we introduce a new dataset to complement the existing evidence on economic inequalities in Poland’s rural areas. This important dataset uses annual information on the beneficiaries of income support, which is paid to farmers within the European Common Agricultural Policy and covers the period 2014–2021. The data can be used to analyse the changing distribution of this support at municipality level using conventional inequality measures. Since part of the support is granted per eligible hectare, our data can also serve as a good approximation of land use distribution, and thus allow researchers to scrutinise the changes in the distribution of an important component of the wealth of many people living in rural areas. The paper presents selected findings on the distribution of income support granted to land users in the studied period and suggests potential research areas, for which the presented dataset can provide useful insights.


  • Open Access

    Prompt Tuning by Context Template Pool Optimisation for Vision-Language Model

    by Kunhong Yu, Piotr Wojcik

    Computer vision is a very popular subfield of machine learning and data science, image classification is one of long-standing problems. Traditional single-modal algorithms using deep convolutional neural works have low generalization ability when dealing with a variable number of outputs. The aim of this paper is to highlight the problems in the current best CLIP model-based transfer learning methods and propose a novel, stronger, and more efficient algorithm to improve the accuracy of State-Of-The-Arts (SOTAs) in this field, providing a promising direction for future research. We perform extensive experiments on 11 vision data sets and find that the proposed method outperforms SOTAs on most of them by a large margin in terms of accuracy. In addition, we conduct a wide range of sensitivity analyses and qualitative analysis with eXplainable Artificial Intelligence tools to show that our design is optimal under a prompt tuning setting.