-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.libraries_io.projects`
(
  id INT64 OPTIONS(description="The unique primary key of the project in the Libraries.io database."),
  platform STRING OPTIONS(description="The name of the Package manager the project is available on."),
  name STRING OPTIONS(description="The name of the project, unique by Platform (case sensitive)."),
  created_timestamp TIMESTAMP OPTIONS(description="The timestamp of when Libraries.io first discovered the project."),
  updated_timestamp TIMESTAMP OPTIONS(description="The timestamp of when Libraries.io last saved a change to the project."),
  description STRING OPTIONS(description="Description provided by the package manager, falling back to description from repository if empty."),
  keywords STRING OPTIONS(description="Comma separated array of keywords if supported by package manager."),
  homepage_url STRING OPTIONS(description="URL of webpage or repository as provided by package managers that support it."),
  licenses STRING OPTIONS(description="Comma separated array of SPDX identifiers for licenses declared in package manager meta data or submitted manually by Libraries.io user via \"project suggection\" feature."),
  repository_url STRING OPTIONS(description="URL of source code repository declared in package manager metadata or submitted manually by Libraries.io user via \"project suggection\" feature."),
  versions_count INT64 OPTIONS(description="Number of published versions of the project found by Libraries.io."),
  sourcerank INT64 OPTIONS(description="Libraries.io defined score based on quality, popularity and community metrics."),
  latest_release_publish_timestamp TIMESTAMP OPTIONS(description="Time of the latest release detected by Libraries.io (ordered by semver, falling back to publish date for invalid semver)."),
  latest_release_number STRING OPTIONS(description="Version number of the latest release detected by Libraries.io (ordered by semver, falling back to publish date for invalid semver)."),
  package_manager_id INT64 OPTIONS(description="Unique ID of project from package manager API, only currently used by PlatformIO."),
  dependent_projects_count INT64 OPTIONS(description="Number of other projects that declare the project as a dependency in one or more of their versions."),
  language STRING OPTIONS(description="Primary programming language the project is written in, pulled from the repository if source is hosted on GitHub."),
  status STRING OPTIONS(description="Either Active, Deprecated, Unmaintained, Help Wanted, Removed, no value also means active. Updated when detected by Libraries.io or submitted manually by Libraries.io user via \"project suggection\" feature."),
  last_synced_timestamp TIMESTAMP OPTIONS(description="Timestamp of when Libraries.io last synced the project from it's package manager API."),
  dependent_repositories_count INT64 OPTIONS(description="The total count of open source repositories that list the project as a dependency as detected by Libraries.io."),
  repository_id INT64 OPTIONS(description="The unique primary key of the repository for this project in the Libraries.io database.")
);

INSERT INTO `bigquery-public-data.libraries_io.projects` (id, platform, name, created_timestamp, updated_timestamp, description, keywords, homepage_url, licenses, repository_url, versions_count, sourcerank, latest_release_publish_timestamp, latest_release_number, package_manager_id, dependent_projects_count, language, status, last_synced_timestamp, dependent_repositories_count, repository_id) VALUES (3184, 'Bower', 'angular-jquery-maskedinput', '2015-01-12 00:07:14+00:00', '2018-12-17 00:14:34+00:00', 'Angular directive for jquery-maskedinput', 'angular,jquery,mask,masked,input', 'https://github.com/danicomas/angular-jquery-maskedinput', NULL, 'https://github.com/danicomas/angular-jquery-maskedinput.git', 0, 2, '2018-12-17 00:14:34+00:00', NULL, NULL, 0, NULL, NULL, '2018-12-17 00:14:34+00:00', 8, 12683), (14086, 'Bower', 'jquery-dragndrop', '2015-01-12 00:11:53+00:00', '2018-12-17 01:48:30+00:00', NULL, NULL, NULL, NULL, 'https://github.com/Cinamonas/jquery-dragndrop.git', 0, 1, '2018-12-17 01:48:30+00:00', NULL, NULL, 0, NULL, NULL, '2018-12-17 01:48:30+00:00', 0, NULL), (22343, 'Bower', 'select-many-js', '2015-01-12 00:15:07+00:00', '2018-12-17 03:05:36+00:00', NULL, NULL, NULL, NULL, 'https://github.com/generalthings/pkg-select-many-js.git', 0, 1, '2018-12-17 03:05:36+00:00', NULL, NULL, 0, NULL, NULL, '2018-12-17 03:05:36+00:00', 0, NULL), (27720, 'Emacs', 'gandalf-theme', '2015-01-12 00:20:26+00:00', '2018-12-21 01:01:40+00:00', 'Gandalf color theme', 'color,theme', NULL, NULL, NULL, 0, 0, '2018-12-21 01:01:40+00:00', NULL, NULL, 0, NULL, NULL, '2018-12-21 01:01:40+00:00', 0, NULL), (28043, 'Emacs', 'isearch-prop', '2015-01-12 00:20:42+00:00', '2018-10-25 20:58:32+00:00', 'Search text-property or overlay-property contexts.', 'search,matching,invisible,thing,help', 'http://www.emacswiki.org/isearch-prop.el', NULL, 'https://www.emacswiki.org/emacs/download/isearch-prop.el', 0, 0, '2018-01-24 01:08:58+00:00', NULL, NULL, 0, NULL, NULL, '2018-01-24 01:08:54+00:00', 0, NULL);