roa_pubs: Search FP7 publications

Description Usage Arguments References Examples

View source: R/roa_pubs.R

Description

Search FP7 publications

Usage

1
2
3
4
5
6
7
8
roa_pubs(fp7 = NULL, publication_id = NULL, doi = NULL,
  provider_id = NULL, project_id = NULL, openaire_project_id = NULL,
  has_project = NULL, oa = NULL, title = NULL, author = NULL,
  from_date = NULL, to_date = NULL, model = NULL,
  fp7_scientific_area = NULL, has_ec_funding = NULL,
  has_wt_funding = NULL, funder = NULL, funding_stream = NULL,
  keywords = NULL, size = 1000, page = 1, sort_by = NULL,
  sort_order = NULL, format = "tsv", raw = FALSE, ...)

Arguments

fp7

(character) Search for publications associated to a FP7 project with the given grant number

publication_id

(character) Gets the publication with the given openaire identifier, if any.

doi

(character) Gets the publications with the given DOIs

provider_id

(character) Search for datasets by openaire data provider identifier. Alternatevely, it is possible to repeat the parameter for each provider id. In both cases, provider identifiers will form a query with OR semantics.

project_id

(character) The given grant identifier of the project.

openaire_project_id

(character) Search for publications by openaire project identifier. Alternatevely, it is possible to repeat the parameter for each provider id. In both cases, provider identifiers will form a query with OR semantics.

has_project

(logical) If hasProject is true gets the datasets that have a link to a project. If hasProject is false gets the datasets with no links to projects.

oa

(logical) Open access or not.

title

(character) Publication title

author

(character) Search for publications by authors

from_date

(character) Gets the publications whose date of acceptance is greater than or equal the given date. Allowed values: date formatted as YYYY-MM-DD.

to_date

(character) Gets the publications whose date of acceptance is less than or equal the given date. Allowed values: date formatted as YYYY-MM-DD.

model

(character) The data model of the response. Options: "openaire" or "sygma". Model "sygma" is a simplified version of the "openaire" model. For sygma, only the xml format is available. See the relative XML schema (<https://www.openaire.eu/schema/sygma/oaf_sygma_v2.1.xsd>). Default: "openaire". Unfortunately, passing "model=openaire" leads to no results AFAICT, so this parameter is left as 'NULL' for now. If you pass 'model=sygma' we force 'format=xml' (see above)

fp7_scientific_area

(character) Search for FP7 entities by scientific area

has_ec_funding

(logical) If 'TRUE' gets the entities funded by the EC. If 'FALSE' gets the entities related to projects not funded by the EC.

has_wt_funding

(logical) If 'TRUE' gets the entities funded by Wellcome Trust. The results are the same as those obtained with 'funder="wt"'. If 'FALSE' gets the entities related to projects not funded by Wellcome Trust.

funder

(character) Search for entities by funder. One of WT, EC, ARC, ANDS, NSF, FCT, NHMRC

funding_stream

(character) xx

keywords

(character) vector of keywords

size

(integer) number of records

page

(integer) page number of the search results

sort_by

(character) sort field, one of dateofcollection, resultstoragedate, resultstoragedate, resultembargoenddate, resultembargoendyear, resultdateofacceptance, resultacceptanceyear

sort_order

(character) sort order. one of ascending or descending. optional

format

(character) format to return, one of json, xml, csv or tsv (default)

raw

(logical) return raw text or not. Default: FALSE

...

curl options passed on to [crul::HttpClient]

References

OpenAIRE API docs http://api.openaire.eu/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
# Search for FP7 grant-supported publications
my_pubs <- roa_pubs(fp7 = "283595")
# Show how many of them are Open Access
table(my_pubs$Access)

# Search by doi
roa_pubs(doi = "10.1051/0004-6361/201220935")

# has_project boolean
roa_pubs(has_project = FALSE, size = 10)
roa_pubs(has_project = TRUE, size = 10)

# curl options
x <- roa_pubs(doi = "10.1051/0004-6361/201220935", verbose = TRUE)

## End(Not run)

njahn82/ropenaire documentation built on May 23, 2019, 7:07 p.m.