private function get_uris() { $params["dataset"] = "GBIF"; require_library('connectors/GBIFCountryTypeRecordAPI'); $func = new GBIFCountryTypeRecordAPI("x"); $uris = $func->get_uris($params, $this->uri_mappings_spreadsheet); return $uris; }
private function get_uris() { /* $fields["sex"] = "sex_uri"; $fields["length_type"] = "length_type_uri"; $fields["habitat"] = "habitat_uri"; */ $fields["value"] = "value_uri"; //a generic spreadsheet $params["fields"] = $fields; $params["dataset"] = "FishBase"; /* you can specify spreadsheet_options here, if not it will use default spreadsheet options in GBIFCountryTypeRecordAPI */ require_library('connectors/GBIFCountryTypeRecordAPI'); $func = new GBIFCountryTypeRecordAPI("x"); return $func->get_uris($params, $this->uri_mappings_spreadsheet); }
private function get_uris() { $spreadsheet = "http://localhost/cp/NMNH/type_specimen_resource/nmnh mappings.xlsx"; //a good source of typeStatus URI's $spreadsheet = "https://dl.dropboxusercontent.com/u/7597512/NMNH/type_specimen_resource/nmnh mappings.xlsx"; $params["uri_file"] = $spreadsheet; $params["dataset"] = "GBIF"; require_library('connectors/GBIFCountryTypeRecordAPI'); $func = new GBIFCountryTypeRecordAPI("x"); $uris = $func->get_uris($params, $spreadsheet); return $uris; }