{"id":15714039,"url":"https://github.com/hashnuke/postgres-tryouts","last_synced_at":"2025-03-30T19:25:10.551Z","repository":{"id":66983745,"uuid":"361350501","full_name":"HashNuke/postgres-tryouts","owner":"HashNuke","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-25T18:14:38.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-05T21:58:42.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"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/HashNuke.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,"publiccode":null,"codemeta":null}},"created_at":"2021-04-25T06:36:21.000Z","updated_at":"2021-04-25T18:14:40.000Z","dependencies_parsed_at":"2023-02-27T12:15:16.014Z","dependency_job_id":null,"html_url":"https://github.com/HashNuke/postgres-tryouts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fpostgres-tryouts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fpostgres-tryouts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fpostgres-tryouts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fpostgres-tryouts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HashNuke","download_url":"https://codeload.github.com/HashNuke/postgres-tryouts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246367228,"owners_count":20765847,"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-10-03T21:34:35.957Z","updated_at":"2025-03-30T19:25:10.529Z","avatar_url":"https://github.com/HashNuke.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postgres-tryouts\n\nCreate the database for the rest of the experiments.\n\n```\n# Create the database for the rest of the adventure\npsql -c 'create database tryouts'\n```\n\n## To prepare the Product Hunt dataset\n\n* The Product Hunt dataset can be downloaded [here](https://data.world/producthunt/product-hunt-research).\n* Look for the `PostsForExploration.csv` file to download.\n* Run the script below to convert the CSV into insert statements\n\n```\npsql -d tryouts producthunt-schema.sql\npython producthunt.py PostsForExploration.csv\n```\n\n## To prepare the MoMA dataset\n\nThis is the data set of Artists and Artworks by Museum of Modern Art available on GitHub.\n\nIn order to download this dataset, please ensure that you have the following installed:\n\n* [Git](https://git-scm.com/)\n* [Git Large File Storage](https://git-lfs.github.com/)\n\nAfter Git LFS is installed, ensure to run `git lfs install` command to install Git LFS for your computer user account before cloning the dataset below.\n\n```\n# To install Git LFS for your user account\ngit lfs install\n\n# Download the MoMA dataset\ngit clone git@github.com:MuseumofModernArt/collection.git moma-collection\n\n# Load the schema for the dataset into the database\npsql -d tryouts \u003c moma-schema.sql\npython3 moma-artists.py moma-collection/Artists.json\npython3 moma-artworks.py moma-collection/Artworks.json\npsql -d tryouts \u003c moma-artist-contributions.sql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashnuke%2Fpostgres-tryouts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashnuke%2Fpostgres-tryouts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashnuke%2Fpostgres-tryouts/lists"}