I got thinking about consistency of our functions and the IPT. I'm partly influenced by the tidy philosophy.)
- I propose we rename our current functions to organize them into families.
- I propose we remove
ipt from any function names (this is implicit in the module)
- I propose we replace
project with resource as that is what the IPT devs use. See the manual glossary for resource definition.
open_ipt_session --> session_open
create_new_ipt_project --> resource_create
refresh_ipt_project_files --> resource_refresh_files
refresh_ipt_project_metadata --> resource_refresh_metadata
change_publishing_org_ipt_project --> resource_change_publishing_org
make_public_ipt_project --> resource_make_public
publish_ipt_project --> resource_publish
register_ipt_project --> resource_register_with_GBIF
add_network_ipt_project --> resource_add_network
check_if_project_exists --> resource_exists
I got thinking about consistency of our functions and the IPT. I'm partly influenced by the tidy philosophy.)
iptfrom any function names (this is implicit in the module)projectwithresourceas that is what the IPT devs use. See the manual glossary for resource definition.open_ipt_session-->session_opencreate_new_ipt_project-->resource_createrefresh_ipt_project_files-->resource_refresh_filesrefresh_ipt_project_metadata-->resource_refresh_metadatachange_publishing_org_ipt_project-->resource_change_publishing_orgmake_public_ipt_project-->resource_make_publicpublish_ipt_project-->resource_publishregister_ipt_project-->resource_register_with_GBIFadd_network_ipt_project-->resource_add_networkcheck_if_project_exists-->resource_exists