oarg_linked_projects: Get project metadata

Description Usage Arguments Value Examples

View source: R/oarg_linked_projects.R

Description

Parse project metadata linked to a OpenAIRE Research Graph record

Usage

1

Arguments

doc

document of class 'xml_document' from the OpenAIRE research graph publication subset

Value

The result is a tibble with project metadata. Here are the returned columns and descriptions:

to Link type
project_title Title of the project
funder Funder name
funding_level_0 Funding sub-category (top -level), e.g. H2020
funding_level_1 Funding sub-category (middle-level), e.g. H2020-ERC
funding_level_2 Funding sub-category (micro-level)
project_code Grant ID
project_acronym Project's acronym
contract_type Type of action

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# sample file delivered with this package
dump_eg <- system.file("extdata", "multiple_projects.xml", package = "openairegraph")
# load xml file
my_record <- xml2::read_xml(dump_eg)
# parse full text links
oarg_linked_projects(my_record)

## End(Not run)

njahn82/openairegraph documentation built on Aug. 26, 2020, 5:43 p.m.