roa_projects: Get EC projects

Description Usage Arguments References Examples

View source: R/roa_projects.R

Description

Get EC projects

Usage

1
2
3
4
5
6
7
roa_projects(grant_id = NULL, publication_id = NULL, dataset_id = NULL,
  title = NULL, acronym = NULL, call_id = NULL, start_year = NULL,
  end_year = NULL, country = NULL, org = NULL, model = NULL,
  fp7_scientific_area = NULL, has_ec_funding = NULL,
  has_wt_funding = NULL, funder = NULL, funding_stream = NULL,
  keywords = NULL, sort_by = NULL, sort_order = NULL, size = 1000,
  page = NULL, format = "xml", ...)

Arguments

grant_id

(character) Gets the project with the given grant identifier, if any

publication_id

(character) publication ID

dataset_id

Gets the dataset with the given openaire identifier, if any

title

(character) Name of the project

acronym

(character) Gets the project with the given acronym, if any.

call_id

(character) Search for projects by call identifier

start_year

(numeric) Gets the projects that started in the given year. Format: YYYY

end_year

(numeric) Gets the projects that ended in the given year. Format: YYYY

country

(character) Search for projects by participant countries. Format: 2-letter country code

org

(character) Search for projects by participant institutions (acronym)

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

sort_by

(character) sort field, one of projectstartdate, projectstartyear, projectenddate, projectendyear, projectduration

sort_order

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

size

(integer) number of records

page

(integer) page number of the search results

format

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

...

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
## Not run: 
roa_projects(org = "UGOE", size = 3)
roa_projects(call_id = "FP7-PEOPLE-2010-IRSES")
roa_projects(title = "open", size = 3)

# formats
roa_projects(org = "UGOE", size = 3, format = "tsv")
roa_projects(org = "UGOE", size = 3, format = "csv")
roa_projects(org = "UGOE", size = 3, format = "json")

# curl options
x <- roa_projects(org = "UGOE", size = 10, verbose = TRUE)

## End(Not run)

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