{"id":21677599,"url":"https://github.com/tech-andgar/data-dictionary","last_synced_at":"2025-03-20T09:44:20.304Z","repository":{"id":112029246,"uuid":"152648378","full_name":"tech-andgar/Data-Dictionary","owner":"tech-andgar","description":"Licensing Systems Data Dictionary","archived":false,"fork":false,"pushed_at":"2017-10-17T04:50:58.000Z","size":15050,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T09:51:34.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tech-andgar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-10-11T19:59:08.000Z","updated_at":"2019-08-19T01:03:14.000Z","dependencies_parsed_at":"2023-03-12T20:15:39.515Z","dependency_job_id":null,"html_url":"https://github.com/tech-andgar/Data-Dictionary","commit_stats":null,"previous_names":["tech-andgar/data-dictionary"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tech-andgar%2FData-Dictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tech-andgar%2FData-Dictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tech-andgar%2FData-Dictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tech-andgar%2FData-Dictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tech-andgar","download_url":"https://codeload.github.com/tech-andgar/Data-Dictionary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591394,"owners_count":20477707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T14:20:56.591Z","updated_at":"2025-03-20T09:44:20.275Z","avatar_url":"https://github.com/tech-andgar.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data-Dictionary\n\nLicensing Systems Data Dictionary \n\n* [CSV files](https://github.com/ffagithub/Data-Dictionary/tree/master/separated/csv) - contains CSV files that can be opened in Excel spreadsheet, first line is column heading\n* [Single MySQL file](https://github.com/ffagithub/Data-Dictionary/blob/master/master_data.sql) - contains structure and data\n* [Single Postgres file](https://github.com/ffagithub/Data-Dictionary/blob/master/master_data_postgres.sql) - contains structure and data\n* [MySQL files](https://github.com/ffagithub/Data-Dictionary/tree/master/separated/mysql) - contains MySql .sql files separated into individual files\n* [Postgres files](https://github.com/ffagithub/Data-Dictionary/tree/master/separated/postgres) - contains Postgres .sql files separated into individual files\n\n# Sources\n\nListed below are the source of the standards as well as links to the actual data sources\n\n* **countries** - Country Codes Github Repo https://github.com/datasets/country-codes/blob/master/data/country-codes.csv. Original sources are from ISO 3166 codes, ITU dialing codes, ISO 4217 currency codes, and many others , added fisheries specific information\n* **gear_type** - FAO,  International Standard Statistical Classification ftp://ftp.fao.org/docrep/fao/008/t0367t/t0367t01.pdf\n* **vessel_type** - FAO, Based on the International Standard Statistical Classification of Fishery Vessels by Vessel Types (ISSCFV), based on the type of gear used by the vessels, approved by the CWP in 1984 ftp://ftp.fao.org/fi/DOCUMENT/cwp/handbook/annex/annexLII.pdf\n* **simplified_vessel_type** - Simplified Classification of Fishing Vessels By Vessel Types - ftp://ftp.fao.org/FI/DOCUMENT/cwp/handbook/annex/ANNEX_LIII.pdf\n* **ports** - UN, UN/LOCODE https://www.portconnect.co.nz/Docs/PortConnectStandardUNLocationCodes(Global).xls also see here (United Nations Code for Trade and Transport Locations)[  http://www.unece.org/cefact/locode/]\n* **species** - FAO, information [http://www.fao.org/fishery/collection/asfis/en](http://www.fao.org/fishery/collection/asfis/en)... download [ftp://ftp.fao.org/FI/STAT/DATA/ASFIS_sp.zip](ftp://ftp.fao.org/FI/STAT/DATA/ASFIS_sp.zip)\n* **storage_method** - Unknown but common across all forms, suspect FAO is source TBC\n* **authorised_fishing_area** - Pacific Commission (SPC) [http://www.spc.int/oceanfish/en/ofpsection/](http://www.spc.int/oceanfish/en/ofpsection/)\n* **units_of_measure** - THE UNIFIED CODE FOR UNITS OF MEASURE [http://unitsofmeasure.org/ucum.html](http://unitsofmeasure.org/ucum.html) only taken a subset of units relevant for licensing. \n\n\nSpecifically these are:\n```\n  kilolitres            | volume    |\tkl\n  gallon                | volume    | gal\n  meter                 | length    | m\n  foot                  | length    | ft\n  kilowatt              | power     | kW\n  horsepower            | power     | hp\n  pound per sqare inch  | pressure  | psi\n```\n\n# Instrcutions\n## Exporting Data\nSSH into server\nrun the following at the command prompt to export data:\n\u003e mysqldump -u root -p --databases master_data \u003emaster_data.sql\n\nOR for Postgres\n\u003e pg_dump master_data \u003e master_data.sql\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-andgar%2Fdata-dictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftech-andgar%2Fdata-dictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-andgar%2Fdata-dictionary/lists"}