sync_software_metadata.Rd
Currently supports CRAN and GitHub.
sync_software_metadata(name)
name | (character) Software name(s). Use |
---|
(list) Updated software JSON for the specified name
and added to
the imcr_json
object in the global environment.
(logical) Updated imcr_json_mod_index
object in the global
environment, which indicates the specified name
has been modified
and is used by put_software()
.
This function looks for two URLs listed in the intial, manually entered,
OntoSoft metadata record. These are: (1.) The official archive in which
the software is published (e.g.
CRAN (https://cran.r-project.org/web/packages/codemetar/index.html)) listed
under the OntoSoft property hasProjectWebsite
(i.e. in the field
"Is there a project website for the software?"
), and (2.) The
official location of where the software is being developmed/maintained
(e.g. GitHub (https://github.com/ropensci/antiword)) listed under the
OntoSoft object property hasActiveDevelopment
(i.e. in the field
"How is the software being developed or maintained?"
). Software
metadata is extracted from these two sources and combinded through the
codemeta
crosswalk then added to the OntoSoft metadata. Information
not supported by codemeta
is supplied directly to the OntoSoft
metadata.
# NOT RUN { get_imcr_json() sync_software_metadata("arrow") login() put_software() logout() # }