README.md

README

GtR

This package provides a set of functions to search for UK research council funded projects from Gateway to Research.

The package can be installed using the following:

library(devtools)
devtools::install_github("MatthewSmith430/GtR")
library(GtR)

Updates on the GtR API (such as whether it is down/unavailable) are posted here. Please check this page if you encounter isses.

Please note that the README is incomplete and will be updated soon

Project Search

You can search for projects associated with a search term- in the following example I will search for projects associated with social network analysis

library(GtR)
library(kableExtra)


SNA_projects<-gtr_project_search("social network analysis")


kable(SNA_projects[1:3,])%>%
  kable_styling() 
project\_title grant\_category project\_id project\_url value start\_date end\_date funder lead\_org Social Media Analysis for Social Geography Research Grant A49CA721-687A-4D55-8FDF-9B60375B6EA8 457888 2014-02-14 2016-05-31 ESRC Newcastle University Social Network Analysis in the field of Political Sociology Case: Brexit and Online Social Networks Studentship 2962E379-1BE9-4ED1-AF22-FC5C79B7DC1B 0 2018-10-01 2022-06-30 ESRC University of Oxford ISIS: Protecting children in online social networks Research Grant BB70AE6C-8416-44DD-81A4-EEB5508CCD86 260325 2008-10-09 2011-10-08 EPSRC Middlesex University

Extracting Project infromation

The following functions extract information for projects.

Organisations

The first function extract information on the projects, and lists all of the organisational collaborators, including both academic and non academic organisations.

This is done for an example project:

library(GtR)
library(pander)
library(magrittr)
library(dplyr)
##Example URL
url<-"https://gtr.ukri.org/projects?ref=G0501806"

##Taking out the abstract text from the data - as this is quite long
##Therefore this means the table is easier to read
PROJ<-gtr_project_extract(url)%>%
  select(-abstract_text)

pander(PROJ[1:3,], split.cell = 80, split.table = Inf)

| org | project_title | project_ref | project_value | start_date | end_date | funder | topic | subject | num_collaboration_output | num_intellectual_property_output | num_policy_influence_output | num_research_material_output | num_artistic_creative_product_output | num_software_technical_product_output | num_research_database_model_output | num_spinout_output | num_impact_summary_output | num_further_funding_output | num_other_research_output | num_exploitation_output | num_dissemination_output | num_publications | org_role | org_region | org_postcode | start_year | end_year | duration_weeks | russell_group | uni | number_org | number_uni | prop_org | prop_uni | total_players | lead_org_russell | | :---------------------------: | :-----------------------------------------------------------------------------------------------------------------------: | :----------: | :------------: | :---------: | :--------: | :----: | :-----: | :-----: | :------------------------: | :---------------------------------: | :----------------------------: | :-----------------------------: | :--------------------------------------: | :---------------------------------------: | :------------------------------------: | :------------------: | :--------------------------: | :---------------------------: | :--------------------------: | :-----------------------: | :------------------------: | :---------------: | :----------: | :---------: | :-----------: | :---------: | :-------: | :-------------: | :------------: | :-: | :---------: | :---------: | :-------: | :-------: | :------------: | :----------------: | | Cardiff University | Resubmission: Social network analysis of the dynamic relationship between adolescent smoking behaviour and peer influence | G0501806 | 316629 | 2006-09-01 | 2009-02-28 | MRC | unknown | | 7 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 8 | COLLABORATOR | Wales | CF10 3TE | 2006 | 2009 | 130.1 | 1 | 1 | 3 | 2 | 0.6 | 0.4 | 5 | 0 | | Maastricht University (UM) | Resubmission: Social network analysis of the dynamic relationship between adolescent smoking behaviour and peer influence | G0501806 | 316629 | 2006-09-01 | 2009-02-28 | MRC | unknown | | 7 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 8 | COLLABORATOR | NA | NA | 2006 | 2009 | 130.1 | 0 | 0 | 3 | 2 | 0.6 | 0.4 | 5 | 0 | | Pennsylvania State University | Resubmission: Social network analysis of the dynamic relationship between adolescent smoking behaviour and peer influence | G0501806 | 316629 | 2006-09-01 | 2009-02-28 | MRC | unknown | | 7 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 8 | COLLABORATOR | Outside UK | NA | 2006 | 2009 | 130.1 | 0 | 0 | 3 | 2 | 0.6 | 0.4 | 5 | 0 |

Individuals

library(GtR)
library(pander)
##Example URL
url<-"https://gtr.ukri.org/projects?ref=G0501806"

Impact & Publications

library(GtR)
library(pander)
##Example URL
url<-"https://gtr.ukri.org/projects?ref=G0501806"

Project topic

Networks

Inter-organisational collaboration network

UKRI Links & Other Information

Details on the data and research council isn’t listed directly on the Gateway to Research website, rather is located on other UKRI sites. Here is a list of useful links and information:



MatthewSmith430/GtR documentation built on July 4, 2025, 4:32 p.m.