oarg_linked_ftxt: Get full-text links

Description Usage Arguments Value Examples

View source: R/oarg_linked_ftxts.R

Description

OpenAIRE keep tracks of full-text links to publications including access level. This parser retrieves links and corresponding metadata about the host of a resource.

Usage

1

Arguments

doc

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

Value

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

access_right Availability of the resource
collected_from Name of the metadata source
instance_type Type of linked resource
hosted_by Name of the Repository or Journal
web_urls List-columns with links to the resource

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_ftxt(my_record)

## End(Not run)

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