Introduction

In natural resource-rich extracting countries, citizens usually have a strong sense of right to own the resources and must benefit from the revenues (Brunnschweiler et al., 2021; Gudynas, 2016; Lange & Kinyondo, 2016; Must, 2018; Paler, 2013). When citizens perceive that their governments are depriving them of their fair share of the common resource, they can violently confront the governments (Must, 2018; Sefa-Nyarko, 2016). So, in the general natural resource management literature, scholars advocate for resource-rich governments to engage their citizens (Brunnschweiler et al., 2021; Ghose et al., 2018; Ogbe & Lujala, 2021). Citizens need to know how much revenue their governments get from natural resource extraction, have a say in the revenue utilisation, and feel that the revenue-funded projects meet their needs (Ogbe & Lujala, 2021; Ogbe et al., 2021). Thus, to avoid conflicts and ensure better revenue utilisation, governments should investigate their citizens’ sentiments and address their grievances (Rihoy et al., 2007; Romero Valenzuela, 2020). Identifying citizens’ sentiments, for example, through their written comments, about public policies or services is essential for effective development (Prabowo & Thelwall, 2009). Knowing how the public relates to a particular service—positive, negative, or neutral—can help governments or decision-makers to provide better services.

Available research indicates that through sentiment analysis, a subfield of natural language processing, governments can identify the sentiments in public expressed comments (Hemmatian & Sohrabi, 2019; Liu, 2020; Singhal et al., 2018; Yang & Cardie, 2014). Though sentiment analysis is paramount in politics, governance, and business (Akanksha & Sharma, 2018; Shah & Patel, 2014), it has little attention within natural resource revenue management. Hence, this study used sentiment analysis to extract the feelings, emotions, and opinions in spatially crowdsourced Ghanaians’ comments on petroleum revenue management in Ghana.

Since 2011, the Ghanaian government has financed numerous community and national development projects in Ghana using the Annual Budget Funding Amount (ABFA), a designated portion of petroleum revenue in the country (Ogbe et al., 2021). At the end of 2020, the ABFA had received about US$2.5 billion and financed over 1000 projects amounting to about US$2.3 billion (Ministry of Finance, 2021; PIAC, 2021). A notable fully funded ABFA project in Ghana is the Free Senior High School (Free SHS) programme. The Free SHS programme started in 2017, and it absorbs all expenses like tuition, feeding, and accommodation for every senior high student in Ghana. From the year 2017 to the end of 2020, records from the Ministry of Finance (2021) indicate that the Free SHS programme alone had received about 40% of the total utilised ABFA (US$980 million).

So far, there is evidence, for instance, that Ghanaians’ preferred projects for ABFA funding vary geographically (Ogbe et al., 2021). Concerning the specific case of the Free SHS programme, we know that the government did not consult all stakeholders in the education sector before implementing the programme (Cudjoe, 2018; Mohammed & Kuyini, 2021). Moreover, some Ghanaians think that the Free SHS programme only encourages students’ enrolment and not the quality of senior high education in Ghana (Abdul-Rahaman et al., 2018; Adarkwah, 2022; Adu-Gyamfi et al., 2020). What we do not know yet is the sentiments Ghanaians have on petroleum revenue management. For better revenue utilisation, it is important to investigate whether Ghanaians trust the government to manage petroleum revenue or the type of emotions they have concerning the revenue management. Such a timely investigation can help the government to identify aggrieved citizens and engage them to prevent future conflicts regarding petroleum revenue management.

With a quantitative methodology and sentiment analyses of written comments from an online survey, this study investigates Ghanaians’ sentiments about general petroleum revenue management and the specific case of the Free SHS programme. The Free SHS programme is the government’s most prioritised programme and is widely advertised and debated in Ghana (PIAC, 2021). So, the study assumes that most Ghanaians could be aware of it and comment on it.

The study’s overall objective is to identify the sentiments of Ghanaians regarding petroleum revenue management in Ghana. Specifically, the study assessed two research questions:

  • RQ1: What sentiments do Ghanaians have about petroleum revenue management in Ghana?

  • RQ2: What sentiments do Ghanaians have about the Free SHS programme in Ghana?

Review of related literature

Previous research

Ghana’s petroleum revenue management has attracted numerous research within the first decade. These studies largely revolve around the Ghana government’s adherence to the Petroleum Revenue Management Act (Stephens, 2019), transparency and accountability (Graham et al., 2019; Gyampo, 2016; Lujala et al., 2020; Ofori & Lujala, 2015), and Ghanaians’ engagement in petroleum revenue management (Brunnschweiler et al., 2021; Ogbe & Lujala, 2021; Ogbe et al., 2021).

Petroleum revenue management act

Regarding the Petroleum Revenue Management Act (PRMA), Stephens (2019) observed that though the government is generally adhering to the Act, there are challenges concerning revenue collection and utilisation. He stated that the government has not managed to collect all petroleum revenue due to the nation. For instance, despite the mandatory annual payment of surface rentals from the upstream companies in the Act, “the Ghana Revenue Authority has failed to ensure that there has been payment of surface rentals in a diligent manner” (Stephens, 2019, p. 127). In a related publication, the PIAC, in its 2015 annual report, indicated that the revenue authority failed to trace the companies’ owners, hence, their inability to ensure the payments (PIAC, 2016, p. xii). Although the PIAC called on the revenue authority to recover all outstanding surface rentals that the upstream companies owed the state, which at the time was about US$722,000, one cannot tell if the authority did that as there are no records to that effect. In respect of revenue utilisation, Stephens indicated that political interference “has led to an unsatisfactory utilisation” (Stephens, 2019, p. 119). For instance, the Ministry of Finance has misappropriated the revenue allocated for development projects and, in some cases, spread the allocated revenue on too many concurrent projects. In all, Stephen concluded that the government needs to strictly adhere to the PRMA and utilise petroleum revenue more judiciously to have a transformative effect on Ghanaians.

Transparency and accountability

Concerning transparency and accountability, the available research indicates that the government needs to be more effective. Regarding transparency in terms of information disclosure, there are available reports, for instance, on disbursements of petroleum revenue to the ABFA from the PIAC and Ministry of Finance. However, as Ofori and Lujala (2015) indicate, this transparency is “illusionary” because the information is in the English language and online. Hence, some Ghanaians cannot access it as one needs the capacity to read in English and the Internet to get such information. In their study investigating transparency within petroleum revenue management in Ghana, Lujala et al. (2020) observed that compared with the urban, educated, and leaders (political or traditional); the rural, uneducated, and ordinary Ghanaians are least likely to get information on petroleum revenue in Ghana. Regarding accountability, in assessing the PIAC’s works on petroleum revenue management, Graham et al. (2019) observed that there is a severe deficit in accountability. Their research revealed that the PIAC is ineffective in leading Ghanaians to demand accountability for petroleum revenue due to financial challenges. As Gyampo (2016) states, better transparency and accountability measures on petroleum revenue management are vital to prevent potential social conflict and the corrupt use of petroleum revenue by politicians in Ghana.

Ghanaians’ engagement in petroleum revenue management

The accessible literature on Ghanaians’ involvement in petroleum revenue management suggests that most Ghanaians are not informed and are unsatisfied with petroleum revenue management in Ghana. In their survey of 3526 Ghanaians, Brunnschweiler et al. (2021) observed that only 30.8% knew about petroleum revenue management in Ghana. Similarly, Ogbe et al. (2021) reported that about 45% of their survey participants did not know about petroleum revenue management in Ghana. Moreover, both studies indicate that most Ghanaians are not satisfied with petroleum management in Ghana. Ghanaians want to benefit from the petroleum revenue (Brunnschweiler et al., 2021). Specifically, they want to influence which projects the ABFA finances (Ogbe & Lujala, 2021).

Significance of the study

Previous research suggests that Ghanaians are not well-informed and happy about petroleum revenue utilization in Ghana. However, Ghanaians want to benefit from the revenue. Yet, there is a dearth of research regarding Ghanaians' sentiments about petroleum revenue management. So, this study surveyed the sentiments of Ghanaians about petroleum revenue management. This study is significant because it can help revenue managers to identify Ghanaians' grievances regarding petroleum revenue management and address them (the grievances) in time to avoid potential conflicts.

Conceptual review

Petroleum revenue management in Ghana

Ghana started managing its petroleum revenue in 2011 after enacting the Petroleum Revenue Management Act (PRMA). The PRMA created the Annual Budget Funding Amount (ABFAFootnote 1) to finance national and community-based projects in Ghana (Stephens, 2019). At the end of 2020, as depicted in Fig. 1, the ABFA had received about US$2.5 billion from the petroleum revenue and financed projects to a total sum of about US$2.3 billion in Ghana (Ministry of Finance, 2018, 2019a, 2019b, 2020, 2021). Furthermore, the PRMA requires the Ministry of Finance and the Public Interest and Accountability Committee (PIAC) to inform Ghanaians and engage them for their opinions on the ABFA management. This engagement is vital because research indicates that the opinions of citizens contribute to better natural resource revenue management in resource-rich countries (Birhan et al., 2021; Cumming et al., 2021; Lockwood et al., 2010; Lujala et al., 2020; Musavengane & Siakwah, 2020; Tantoh et al., 2021; Walden-Schreiner et al., 2018). Overall, the PRMA aims to help Ghana to avert the embedded resource curse (Bulte & Damania, 2008; Darby, 2010; Lujala & Rustad, 2012) within the petroleum sector.

Fig. 1
figure 1

The total ABFA allocation and utilisation, and the total expenditure on the education priority area and the Free SHS programme from 2017 to 2020. Data was from the Ministry of Finance’ annual reports (2011–2021)

The free senior high school programme

The Free SHS programme started in September 2017, and it covers all fees and expenses for all upper secondary school students, with boarding and meals (Cudjoe, 2018; Mohammed, 2020). The programme is under the Education priority area of ABFA funding. At the end of 2020, the Free SHS programme had received about 97% of ABFA funding in the Education priority area (see Fig. 1). This expenditure is enormous considering that, from the Ministry of Finance reports (depicted in Fig. 1), it accounted for almost half of the total ABFA utilised within the same period (Ministry of Finance, 2018, 2019a, 2020, 2021).

Natural language processing

Natural language processing (NLP) refers to using computers to learn, understand, analyse, or produce texts in a human language, like English (Chowdhury, 2005; Eisenstein, 2019; Hirschberg & Manning, 2015; Jain et al., 2018; Nadkarni et al., 2011). NLP combines artificial intelligence and computational linguistics (Nadkarni et al., 2011) to make human and computer interaction efficient and easy (Jain et al., 2018). Thus, NLP includes an input (usually, a text), a task (to comprehend the content of a text), and an output (e.g., a database or summaries) (Jain et al., 2018; Nadkarni et al., 2011). NLP can help in work involving a large number of unstructured texts in emails, social media conversations, online chats, or survey responses. Regarding surveys, especially online surveys, NLP can be applied for opinion mining and sentiment analysis.

Methodological review

Opinion mining

Opinion mining is the method of extracting human thoughts and perceptions from unstructured texts (Hemmatian & Sohrabi, 2019). Specifically, it is a computational technique for extracting, classifying, understanding, and assessing public opinions (Bakshi et al., 2016; Chen & Zimbra, 2010). Since its inception in the early 2000s (Liu, 2012), as a subfield of natural language processing (Daud et al., 2017), opinion mining has helped researchers to examine and analyse people’s opinions through their expressed comments within news, articles, and product and service reviews (Subrahmanian & Reforgiato, 2008). Opinion mining can help researchers to understand, analyse, and answer many geopolitical, social, and business-related research questions through comments expressed on social media (Chen & Zimbra, 2010). Within NLP, for comprehensive opinion mining, one needs to perform sentiment analysis.

Sentiment analysis

Sentiment analysis is the process of identifying people’s sentiments (negative, positive, or neutral), evaluations (trust or anticipation), and emotions (anger, fear, or joy) in a text document (Bakshi et al., 2016; Chen et al., 2019; Hemmatian & Sohrabi, 2019; Liu, 2012; Pang & Lee, 2008; Wilson et al., 2005). For large text documents, sentiment analysis can take place at three levels: document (Sharma et al., 2014; **a et al., 2016), sentence (Hemmatian & Sohrabi, 2019; Yang & Cardie, 2014), and word (Chinsha & Joseph, 2015; Hussein, 2018). Document-level classifies the whole document as positive, negative, or neutral, while on the sentence and word levels, the classification is for each sentence or word, respectively. Sentiment analysis can use artificial intelligence methods such as machine learning (Habernal et al., 2014; Riaz et al., 2019), lexicon-based (Muhammad et al., 2016; Serrano-Guerrero et al., 2015), or hybrid methods (Abdul-Mageed et al., 2014; Keshavarz & Abadeh, 2017). This article used the lexicon-based method.

The lexicon-based method uses dictionaries that contain a broad collection of terms, phrases, and expressions to predict the overall sentiment of a piece of text (Muhammad et al., 2016; Serrano-Guerrero et al., 2015). For instance, whereas words such as “good” and “amazing” induce positive feelings in humans, “bad” and “scary” stimulate negative feelings (Liu, 2020). Lexicon-based sentiment analysis helps to find the polarity of each word in a text document. The analysis begins with the creation of a bag of words with their sentiment polarities, or the adoption of an existing one, from which the sentiment scores of terms are extracted, and it ends with predicting the sentiment of a given piece of text (Muhammad et al., 2016).

The use of sentiment analysis is dominant in business and political governance (Bakshi et al., 2016; Hemmatian & Sohrabi, 2019). In business and government intelligence, sentiment analysis mainly helps in reputation management and public relations (Shah & Patel, 2014). Using online feedback submissions or product reviews, e-commerce marketers can use sentiment analysis to identify their customers' expectations, evaluations, or grievances about their goods and services. Doing so helps in providing customer-tailored needs. Governments can use sentiment analysis to provide or improve services such as roads, hospitals, and leisure facilities, or to identify the public’s evaluation of a new policy or reformation of an old one. Furthermore, political parties can use sentiment analysis to discern a public response to their campaign message for forthcoming elections (Akanksha & Sharma, 2018; Bakshi et al., 2016).

Nonetheless, it is difficult for sentiment analysis algorithms to recognise negated expressions, sarcasm and irony, multi-polarity, and exaggerations entirely accurately (Mohammad, 2017; Shayaa et al., 2018; Singhal et al., 2018). Thus, in a text document with the mentioned elements, sentiment analysis may not accurately reveal the polarity, emotions, or evaluations of the commenters. However, coupled with intelligent data mining, visualization, and filtering methods, sentiment analysis can generate information of great utility to decision-makers for monitoring and rapid response purposes (Pozzi et al., 2017).

Method and data

As the study aimed at a large sample size within a short period, a quantitative methodology was adopted for data collection. For data assessments, various techniques of quantitative and sentiment analyses were performed. Below is a brief account of the methodological workflow (see Fig. 2).

Fig. 2
figure 2

Methodological framework

Data capture

The data were from an online survey among adult Ghanaians in Ghana between January and May 2020 through a spatial crowdsourcing platform. Following Ogbe and Lujala (2021), the study adopts Survey123 for ArcGIS to design the spatial crowdsourcing platform. Using a convenience sampling technique, five research assistants helped to share the survey link via social media (Facebook and WhatsApp) and Email for public participation. The target population was Ghanaians older than 17 years having GPS-incorporated and Internet-connected input devices. After receiving the link, the participants clicked it to access the survey, filled out the questionnaire, and submitted their responses. The research assistants used family and friends as contacts to recruit participants through WhatsApp from rural areas. It was easier to recruit urban participants because they were mostly online (for instance, on Facebook). All the participants were assured of their anonymity. The questions were about the participants’ biographical data (e.g., age, gender, level of education) and their comments about the management of the petroleum revenue and the Free SHS programme (see Appendix for details). A participant could only respond once to the survey.

The total number of participants in the survey was 399, with 202 participants commenting on petroleum revenue management and the Free SHS programme. Based on Cochran (1963) equation,Footnote 2 the sample size is sufficient. Figure 3 indicates the location (with 100 m offset to secure privacy) where the participants completed the survey. The responses were stored in spreadsheet, text, and shapefile formats, which were processed, analysed, and visualised using R, ArcGIS Pro 2.7, StataMP 16, and Microsoft Word.

Fig. 3
figure 3

Location of the survey participants, the opposition political party’s strongholds, and urban areas

Data

The participants were averagely 31 years old, with a large majority (387) having received tertiary education. Most of them were men (269) and ordinary community members (196). Table 1 gives the summary statistics of the data. The comments about petroleum revenue management were, in total, 5342 words in 405 sentences with a maximum of 6 sentences and 52 words per participant. Conversely, the Free SHS programme comprised a total of 7908 words in 602 sentences, with a maximum of 7 sentences and 50 words per participant. Regarding petroleum revenue management, almost half of the participants (142) had negative sentiments, while for the Free SHS programme, the majority (208) had negative sentiments (see Fig. 4).

Table 1 Summary statistics for the variables
Fig. 4
figure 4

Geographic distribution of the study participants’ sentiments concerning the management of the petroleum revenue and the Free SHS programme at the regional level. Note: The polarity represents sentence-level sentiment analyses

Response and explanatory variables

Two individual-level response variables are used in this article (Table 1). The explanatory variables are demographic and geographic:

  1. 1.

    Demographic: the participants had to input their age in numbers, choose their gender (male or female), their highest level of education achieved (options ranged from none to tertiary), and their position in the community (from an ordinary community member to a leadership position). Age, gender, education, and position in the community were coded by dummies taking the values of 1 if the participant is a youth,Footnote 3 female, tertiary educated, or an ordinary community member.Footnote 4 The participants also indicated their knowledge of available ABFA-funded project(s) in their areas. This variable was coded as a dummy with 1 as those who knew.

  2. 2.

    Geographic: To generate a dummy variable for the participants who were in a rural area (1) or urban (0), the study used the 2019 global Climate Change Initiative Landcover from the European Space Agency dataset.Footnote 5 Moreover, the distances from where the participants answered the survey to the nearest regional capital town and urban area were calculated from the administrative regional capital towns and the urban area data. Lastly, a different dummy variable for the participants in the opposition political party’s stronghold (1) or not (0) was generated.

Hypotheses

The hypotheses in this article are informed by previous research. The more informed citizens are, the less negative they will be about natural resource revenue management (Le Billon, 2007, 2010; Lujala, 2017; Lujala et al., 2020; Musavengane & Siakwah, 2020; Orogun, 2010). Overall, men, the youth, and the more educated seem to be more informed on national issues than women, the aged, and the less educated (Bernal & Vásquez, 2016; Lujala et al., 2020; Ogbe et al., 2021). Nonetheless, urban dwellers tend to be more informed than rural folks (Garcia-Cosavalente et al., 2010; Ofori & Lujala, 2015; Ogbe et al., 2021). Additionally, in the Ghanaian context, as the PIAC engages more local leaders and communities with ABFA-funded projects, they (leaders and ABFA-funded community members) may be more informed than the non-leaders and community members without ABFA-funded projects regarding petroleum revenue management. Finally, the study hypothesised that as the implementation of the Free SHS programme excluded political consensus (Cudjoe, 2018; Mohammed & Kuyini, 2021), the sentiment about the Free SHS programme will vary contingent on which political party dominates in the participant’s location. Thus, the participants in the strongholds of the governing party, the New Patriotic Party (NPP) will likely be more positive than those in the opposition party, the National Democratic Congress (NDC). The four hypotheses are summarised as follows:

  • H1: Ghanaian women are likely to have negative sentiments about petroleum revenue management and the Free SHS programme in Ghana.

  • H2: Ghanaians without leadership or privileged positions in their communities are likely to have negative sentiments about petroleum revenue management and the Free SHS programme in Ghana.

  • H3: Ghanaians who know about an existing ABFA-funded project are likely to have positive sentiments about the petroleum revenue management and the Free SHS programme in Ghana.

  • H4: Ghanaians in the strongholds of the opposition political party (the NDC) are likely to have negative sentiments about the Free SHS programme in Ghana.

Data processing, analyses, and visualisation

The main data processing was text mining in R. First, the participants that commented on the petroleum revenue were sorted out and saved separately in an excel file. The same process was repeated for the comments about the Free SHS programme too. Afterward, using the ‘corpus’ function from the ‘tm’ package from Feinerer (2013), the comments were tokenised into individual words. Next, using the ‘tm_map’ function from the same package, the tokens were cleaned by removing numbers, stop words (i.e., the most common words, such as ‘is’, ‘be’, ‘to’ that do not have any sentiments on their own), punctuations, and extra white spaces. Further, a term-document matrix and a data frame were created for the cleaned datasets. Thereafter, the cleaned datasets were resaved as new comma-separated values (.csv) files and all the words (i.e., words like ‘educate’, ‘educating’, ‘educated’, and ‘education’ categorised as ‘education’) were manually stemmed. Finally, the stemmed words were saved in an excel file.

To analyse the participants’ comments regarding the management of petroleum revenue and the Free SHS programme, the study used sentence-level sentiment analysis (Hemmatian & Sohrabi, 2019; Wilson et al., 2005) in R to identify their emotions and sentiments. The emotions analysis generated 8 new columns (Figs. 7 and 9), and the sentiments, 3 columns (Figs. 4 and 5) for each participant. The new columns were appended to the spatial attribute table for extra analyses in Stata and ArcGIS Pro. Additionally, to get the sentiments of the words in the participants’ comments, the sentiment polarity in the stemmed words on a word-level (Chen et al., 2019; Li et al., 2017) was analysed using the ‘sentiment’ package (Figs. 6 and 8).

Fig. 5
figure 5

Location of sample comments and the participants’ sentiments

Fig. 6
figure 6

Repeated words in the study participants’ comments about petroleum revenue. Notes: Positive and negative words are in green and red colours, respectively (A), and words appearing at least twice in the comments are shown in (B)

Furthermore, from simple tabulations, crosstabulations, and regression analyses, statistical inferences and observations were made regarding the response variables. To determine the frequencies of the sentiment polarities about the response variables at the regional level, the ‘select by attributes’ and ‘select by location’ tools in ArcGIS Pro (Table 2) were used. Additionally, an ordered logistic regression was run to investigate how the response variables relate to the explanatory ones (Table 3). To account for unobserved heterogeneities in the models due to geography/proximity, fixed effects on the region and cluster-adjusted districtFootnote 6 were included for any within-cluster correlation or heteroscedasticity as recommended by Cameron and Miller (2015). Due to the low number of participants, none of the spatial analyses (i.e. hotspots) yielded meaningful results, and therefore they were ignored. Finally, the results from the analyses were visualised using either wordcloud, bar graph, map, or table as applicable.

Table 2 Study participants’ combined sentiments about the management of petroleum revenue and the Free SHS programme at regional level
Table 3 Study participants’ sentiments about the management of petroleum revenue and the Free SHS programme

Empirical limitation

Spatial crowdsourcing projects are likely to be unrepresentative and biased (Bubalo et al., 2019; Ogbe & Lujala, 2021). The data in this article are biased towards tertiary-educated Ghanaians because less than 10% of Ghanaians had this level of education in 2017 (Ghana Statistical Service, 2019). Comparatively, the study participants might have been more highly educated (and wealthier) and therefore they possessed the required technology and skills (e.g. an ability to read and write English), saw information about the survey, got interested, and more of them participated. However, the aim of the survey was to extract Ghanaians’ sentiments about petroleum revenue management, not decisions about upcoming petroleum revenue-funded projects, as scholars like Güiza and Stuart (2018), Ofori and Lujala (2015), and Ogbe and Lujala (2021) argue that the resulting unrepresentativeness could be an issue. So, from the objective, as Czepkiewicz et al. (2017) contend, the unrepresentativeness of the sample is, considerably, unimportant.

Results and discussion

Generally, the participants were not positive about petroleum revenue management and the Free SHS programme. From Table 2, it can be observed that while 23% of the participants had negative sentiments, only 1% were positive regarding both the abovementioned types of management. The following subsections present the specifics of each management type.

Sentiments about petroleum revenue management

Largely, the sentence-level sentiment analysis indicates that the participants were not positive about petroleum revenue management in the country (Table 2 and Fig. 4). However, on the word-level sentiment analysis (Fig. 6A), out of the 96 repeated sentiment words in the participants’ comments, 51 of them were positive, with “benefit” as the most repeated positive word (32 times). Contrarily, the most negative word (poor) appeared four times fewer than the most positive word. Figure 7 indicates that the positive emotions of “trust” and “joy” account for almost half of the meaningful words in the comments about petroleum revenue management. Conversely, the negative emotions of “disgust”, “sadness”, “anger”, and “fear” constituted about 24% of the meaningful words.

Fig. 7
figure 7

Count of words associated with each emotion in the study participants’ comments about petroleum revenue management

Regarding the hypotheses, the analyses confirmed none. For instance, the results proved the opposite of hypotheses 1 and 3 about being a woman and knowing about an existing ABFA-funded project (the second column in Table 2). That is, women were likely to be 0.44 levels up (more positive), and those who knew about any ABFA-funded project in their area were 0.49 levels down (more negative). Women seem to have a positive sentiment towards the Free SHS programme probably because the programme allows more girls (who could not have afforded secondary education) to be in school and as Kwegyiriba (2021) indicates, education limits teenage girls’ exposure to pregnancy. However, Ogbe et al. (2021) observed that Ghanaians who know a petroleum revenue-funded project are likely to be informed about the general petroleum revenue management in Ghana. More so, the Free SHS programme has increased student enrolment to the detriment of adequate teaching staff, learning materials, and school infrastructure (Chanimbe & Dankwah, 2021; Matey, 2020). Hence, those who knew about an existing project in their area could also have been aware of the challenges of the Free SHS programme, consequently, their negative sentiment.

The results in this section closely reflect that of Armah-Attoh (2015), Abraham (2019), Stephens (2019), and Brunnschweiler et al. (2021). Armah-Attoh (2015) and Brunnschweiler et al. (2021) observed that most Ghanaians are not satisfied with petroleum revenue management in the country. Besides, they indicate that most Ghanaians want the government to be more transparent and accountable to them regarding revenue management. Noticeable from the participants’ comments, among the top 10 most used words, were “accountability” and “transparency” occurring 27 and 25 times, respectively (Fig. 6B). Additionally, in common with findings reported by Armah-Attoh (2015) and Stephens (2019), some participants (see comment G in Fig. 5) suggested the Government should use the revenue for development projects that would benefit more Ghanaians across space and time. Thus, the participants seemed to trust the management probably because they anticipate that the Government could manage the petroleum revenue better and would become more accountable and transparent to them. Trust is vital in petroleum revenue management as it is a necessity for effective accountability in natural resource management (Musavengane & Siakwah, 2020).

In general, the study results are significant for petroleum revenue managers in two ways. First, the PIAC and the Government could use sentiment analysis to examine the opinions of citizens regarding petroleum revenue management. For instance, in Ghana, the PIAC can analyse Ghanaians’ sentiments about the ABFA’s utilisation in the country. Furthermore, although not covered in this article, they could identify which areas of Ghana are citizens more negative toward revenue management and engage them regarding their grievances. Secondly, the PIAC and the Government could combine spatial crowdsourcing and natural language processing for efficient allocation of petroleum revenue for projects in the future. For instance, they could identify the most prioritised project(s) for each area through an opinion survey in the country.

Sentiments about the management of the Free SHS programme

From the sentence-level sentiment analysis, it was evident that most of the participants were negative about the management of the Free SHS programme in Ghana (Table 2 and Fig. 4). Moreover, the word-level sentiment analysis (Fig. 8A) revealed that out of the 150 repeated sentiment words in the participants’ comments, 80 were negative, with “poor” as the most repeated negative word (28 times). Conversely, the most positive word (“good”) appeared 69 times. However, the positive emotions of “trust” and “joy” accounted for almost 52% of the meaningful words in the comments about the Free SHS programme (Fig. 9). Moreover, the negative emotions of “disgust”, “sadness”, “anger”, and “fear” constituted about 20% of the meaningful words. Thus, even though the participants were more negative about the Free SHS programme, they trusted the management and anticipate it would become better, even more than the management of the petroleum revenue in general.

Fig. 8
figure 8

Repeated words in the comments about the Free SHS programme. Notes: Positive and negative words are shown in green and red, respectively (A), and words appearing at least twice in the comments are shown in (B)

Fig. 9
figure 9

Count of words associated with each emotion in the comments about the management of the Free SHS programme

The results support the fourth hypothesis. The participants in the stronghold of the opposition political party (the NDC) were likely to be negative about the Free SHS programme (the third column in Table 2). This could be a consequence of excluding some stakeholders, for instance, parents and other political parties from the planning and implementation (Gbadago, 2020; Mohammed & Kuyini, 2021) of the Free SHS programme. Furthermore, the programme has some notable challenges (mentioned earlier) and has contributed to poor academic performance from the beneficiaries (Takyi et al., 2019). The participants might have experienced some of these challenges, in which case the experience might have led to their negative sentiments.

Overall, the results indicate that the Government needs broader consultation for the sustainability of the programme. Additionally, as “lack”, “facilities”, “provide”, and “build” were among the top 15 most repeated words (more than 20 times) in the comments about the Free SHS programme (Fig. 8B), the Government should consider providing adequate infrastructure across the schools.

Conclusion

Analysing public sentiments regarding policies or services can help governments or decision-makers to provide better services. This article analyses the sentiments of Ghanaians, surveyed from a spatially crowdsourced platform on petroleum revenue and the Free Senior High School programme management in Ghana. The results suggest that, largely, the participants were not positive about the petroleum revenue and the management of the Free SHS programme. But they showed trust in the managers and anticipated better management in the future. Regarding the Free SHS programme, the government needs broader consultation with all stakeholders, especially parents of the students and the opposition political parties to sustain it. The findings imply that the Ghanaian government needs to involve all stakeholders in deciding on petroleum revenue utilisation in Ghana. Overall, as this study did not probe the sentiments of Ghanaians, further studies could investigate why Ghanaians have negative sentiments regarding petroleum revenue management.