LibreCat / Catmandu-CrossRef

Catmandu modules for working with data from crossref.org
Other
0 stars 1 forks source link

Provide fixes to query the CrossRef database #3

Open phochste opened 9 years ago

vpeil commented 9 years ago

can you provide some examples?

phochste commented 9 years ago

You can use https://github.com/ropensci/rcrossref and the fixes lookup and lookup_in_store as inspiration (e.g. for adding a --delete option)

# Lookup a DOI 
#  doi => "10.1126/science.169.3946.635"
crossref_doi(doi)   # doi => HASH of metadata
crossref_doi(doi, delete:1) # delete the field if nothing found

# Citation count 
crossref_citation_count(doi) # doi => 6

# Funder information  
# funder => 'NSF'
crossref_funder(funder)  # funder => HASH of metadata

# Minting agency
crossref_agency(doi) # doi => HASH of agency metadata

# Journal information
crossref_issn(issn)  # issn => HASH with journal metadata
phochste commented 9 years ago

Some example dois:

10.1016/S0168-9002(03)01368-8
10.1016/j.physletb.2012.08.020
10.1037//0033-295X.108.3.624
10.1093/nar/25.17.3389
10.1038/ijo.2011.30
10.1007/JHEP06(2011)128
10.1016/S0092-8674(03)00924-3
10.1006/jmbi.1990.9999
10.1136/bmj.320.7244.1240
10.1088/0067-0049/182/2/543
10.1006/abio.1976.9999
10.1016/0749-5978(91)90020-T
10.1038/ijo.2008.179
10.1038/ncb1369