Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add table github_search_user. Closes #106 #113

Merged
merged 3 commits into from
Dec 7, 2021
Merged

Add table github_search_user. Closes #106 #113

merged 3 commits into from
Dec 7, 2021

Conversation

c0d3r-arnab
Copy link
Contributor

Example query results

Results
> select
  id,
  login,
  type,
  url
from
  github_search_user
where
  query = 'turbot in:name type:user'
+----------+---------------+------+--------------------------------------------+
| id       | login         | type | url                                        |
+----------+---------------+------+--------------------------------------------+
| 11157615 | brunoturbot   | User | https://api.github.com/users/brunoturbot   |
| 78197905 | bigdatasourav | User | https://api.github.com/users/bigdatasourav |
| 11403013 | turbotmy      | User | https://api.github.com/users/turbotmy      |
| 13833829 | HubTurbot     | User | https://api.github.com/users/HubTurbot     |
| 55375085 | turbotix8     | User | https://api.github.com/users/turbotix8     |
+----------+---------------+------+--------------------------------------------+
> select
  id,
  login,
  type,
  url
from
  github_search_user
where
  query = 'turbotio in:login type:org'
+----------+----------+--------------+---------------------------------------+
| id       | login    | type         | url                                   |
+----------+----------+--------------+---------------------------------------+
| 10854165 | turbotio | Organization | https://api.github.com/users/turbotio |
+----------+----------+--------------+---------------------------------------+
> select
  id,
  login,
  type,
  url
from
  github_search_user
where
  query = 'user:c0d3r-arnab'
+----------+-------------+------+------------------------------------------+
| id       | login       | type | url                                      |
+----------+-------------+------+------------------------------------------+
| 45350738 | c0d3r-arnab | User | https://api.github.com/users/c0d3r-arnab |
+----------+-------------+------+------------------------------------------+
> select
  id,
  login,
  type,
  url
from
  github_search_user
where
  query = 'repos:>10000 type:org'
+----------+----------------------------+--------------+---------------------------------------------------------+
| id       | login                      | type         | url                                                     |
+----------+----------------------------+--------------+---------------------------------------------------------+
| 17740254 | WPPlugins                  | Organization | https://api.github.com/users/WPPlugins                  |
| 6323616  | londonappbrewery           | Organization | https://api.github.com/users/londonappbrewery           |
| 1957667  | GITenberg                  | Organization | https://api.github.com/users/GITenberg                  |
| 13755286 | aur-archive                | Organization | https://api.github.com/users/aur-archive                |
| 22778867 | Code-Institute-Submissions | Organization | https://api.github.com/users/Code-Institute-Submissions |
| 17129639 | latin-ocr                  | Organization | https://api.github.com/users/latin-ocr                  |
| 6899542  | cran                       | Organization | https://api.github.com/users/cran                       |
| 6208017  | learn-co-curriculum        | Organization | https://api.github.com/users/learn-co-curriculum        |
| 3227391  | imclab                     | Organization | https://api.github.com/users/imclab                     |
| 2418173  | the-domains                | Organization | https://api.github.com/users/the-domains                |
| 62364243 | fcc-ea-mirror              | Organization | https://api.github.com/users/fcc-ea-mirror              |
| 9529566  | textcreationpartnership    | Organization | https://api.github.com/users/textcreationpartnership    |
| 70639374 | Planet-Source-Code         | Organization | https://api.github.com/users/Planet-Source-Code         |
| 8825476  | learn-co-students          | Organization | https://api.github.com/users/learn-co-students          |
| 52578998 | codeserver-test-org        | Organization | https://api.github.com/users/codeserver-test-org        |
| 599313   | pld-linux                  | Organization | https://api.github.com/users/pld-linux                  |
| 2996849  | wp-plugins                 | Organization | https://api.github.com/users/wp-plugins                 |
| 82280641 | uk-gov-mirror              | Organization | https://api.github.com/users/uk-gov-mirror              |
| 11897326 | conda-forge                | Organization | https://api.github.com/users/conda-forge                |
| 160702   | gitpan                     | Organization | https://api.github.com/users/gitpan                     |
| 13415214 | OpenMandrivaAssociation    | Organization | https://api.github.com/users/OpenMandrivaAssociation    |
| 20072691 | testpalerra                | Organization | https://api.github.com/users/testpalerra                |
| 43623793 | cb-kubecd                  | Organization | https://api.github.com/users/cb-kubecd                  |
| 87437101 | experiment50               | Organization | https://api.github.com/users/experiment50               |
+----------+----------------------------+--------------+---------------------------------------------------------+
> select
  id,
  login,
  type,
  url
from
  github_search_user
where
  query = 'created:2021-01-01..2021-01-31 turbot'
+----------+-----------------+--------------+----------------------------------------------+
| id       | login           | type         | url                                          |
+----------+-----------------+--------------+----------------------------------------------+
| 77413591 | TurboTandem     | User         | https://api.github.com/users/TurboTandem     |
| 78071703 | TurboTorben94   | User         | https://api.github.com/users/TurboTorben94   |
| 77197879 | TurboTemuch     | User         | https://api.github.com/users/TurboTemuch     |
| 77158804 | TurboTea        | Organization | https://api.github.com/users/TurboTea        |
| 78197905 | bigdatasourav   | User         | https://api.github.com/users/bigdatasourav   |
| 77942408 | turbotec1       | User         | https://api.github.com/users/turbotec1       |
| 77200187 | TurboTypescript | Organization | https://api.github.com/users/TurboTypescript |
| 77087890 | turbothanh1     | User         | https://api.github.com/users/turbothanh1     |
| 76853585 | turbot0nyy      | User         | https://api.github.com/users/turbot0nyy      |
| 78062921 | turbotogo1      | User         | https://api.github.com/users/turbotogo1      |
| 77329440 | turbotech-aero  | Organization | https://api.github.com/users/turbotech-aero  |
+----------+-----------------+--------------+----------------------------------------------+

@c0d3r-arnab c0d3r-arnab self-assigned this Nov 25, 2021
@c0d3r-arnab c0d3r-arnab linked an issue Nov 25, 2021 that may be closed by this pull request
@c0d3r-arnab c0d3r-arnab requested review from ParthaI and removed request for bigdatasourav November 25, 2021 14:07
Copy link
Contributor

@bigdatasourav bigdatasourav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigdatasourav bigdatasourav merged commit 326554d into main Dec 7, 2021
@bigdatasourav bigdatasourav deleted the issue-106 branch December 7, 2021 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table github_search_user.
2 participants