{"id":16284664,"url":"https://github.com/pachadotdev/cp1919","last_synced_at":"2026-02-02T15:38:41.369Z","repository":{"id":245582876,"uuid":"818277348","full_name":"pachadotdev/cp1919","owner":"pachadotdev","description":"Radio Observations of the Pulse Profiles and Dispersion Measures of Twelve Pulsars (aka Joy Division plot)","archived":false,"fork":false,"pushed_at":"2024-06-22T14:40:47.000Z","size":529,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-15T02:47:38.448Z","etag":null,"topics":["astronomy","ggplot2","pulsars","rstats"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pachadotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-21T13:38:05.000Z","updated_at":"2025-09-24T22:57:00.000Z","dependencies_parsed_at":"2024-06-22T22:52:35.178Z","dependency_job_id":null,"html_url":"https://github.com/pachadotdev/cp1919","commit_stats":null,"previous_names":["pachadotdev/cp1919"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pachadotdev/cp1919","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcp1919","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcp1919/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcp1919/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcp1919/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pachadotdev","download_url":"https://codeload.github.com/pachadotdev/cp1919/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcp1919/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29014458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T14:58:54.169Z","status":"ssl_error","status_checked_at":"2026-02-02T14:58:51.285Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["astronomy","ggplot2","pulsars","rstats"],"created_at":"2024-10-10T19:20:22.718Z","updated_at":"2026-02-02T15:38:41.353Z","avatar_url":"https://github.com/pachadotdev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"CP 1919 / PSR B1919+21 Dataset\n==============================\n\nThis dataset, found in one of my old external drives, corresponds to the\nfamous plot from [*Radio Observations of the Pulse Profiles and\nDispersion Measures of Twelve\nPulsars*](https://www.proquest.com/docview/302499144/abstract?sourcetype=Dissertations%20\u0026%20Theses)\n(Craft, 1970). This is broadly known as the Joy Division’s plot from\n[*Unknown Pleasures*](https://en.wikipedia.org/wiki/Unknown_Pleasures).\nIf you happen to know whom created the provided CSV file, please let me\nknow so I can give proper credit.\n\nThe dataset contains “successive pulses from the first pulsar\ndiscovered, CP 1919, are here superimposed vertically. The pulses occur\nevery 1.337 seconds. They are caused by rapidly spinning neutron star.”\n(The Cambridge Encyclopaedia of Astronomy, 1977)\n\nThanks to [Scientific\nAmerican](https://www.scientificamerican.com/blog/sa-visual/pop-culture-pulsar-origin-story-of-joy-division-s-unknown-pleasures-album-cover-video/),\nthere is a complete explanation of the dataset and its origin.\n\nRead\n----\n\n    pulsar \u003c- readr::read_csv(\"cp1919.csv\")\n\n    ## Rows: 24000 Columns: 3\n    ## ── Column specification ────────────────────────────────────────────────────────\n    ## Delimiter: \",\"\n    ## dbl (3): x, y, z\n    ## \n    ## ℹ Use `spec()` to retrieve the full column specification for this data.\n    ## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.\n\n    pulsar\n\n    ## # A tibble: 24,000 × 3\n    ##        x     y     z\n    ##    \u003cdbl\u003e \u003cdbl\u003e \u003cdbl\u003e\n    ##  1     1     1 -0.81\n    ##  2     2     1 -0.91\n    ##  3     3     1 -1.09\n    ##  4     4     1 -1   \n    ##  5     5     1 -0.59\n    ##  6     6     1 -0.82\n    ##  7     7     1 -0.43\n    ##  8     8     1 -0.68\n    ##  9     9     1 -0.71\n    ## 10    10     1 -0.27\n    ## # ℹ 23,990 more rows\n\nVisualize\n---------\n\n### The Cambridge Encyclopaedia of Astronomy (1977)\n\n    library(ggplot2)\n    library(ggridges)\n\n    col1 \u003c- \"white\"\n    col2 \u003c- \"black\"\n\n    ggplot(pulsar, aes(x = x, y = y, height = z, group = y)) +\n      geom_ridgeline(\n        min_height = min(pulsar$z),\n        scale = 0.2,\n        linewidth = 0.5,\n        fill = col1,\n        colour = col2\n      ) +\n      scale_y_reverse() +\n      theme_void() +\n      theme(\n        panel.background = element_rect(fill = col1),\n        plot.background = element_rect(fill = col1, color = col1),\n      )\n\n![](README_files/figure-markdown_strict/plot1-1.png)\n\n### The Nature of Pulsars (Scientific American, 1970)\n\n    col1 \u003c- \"#94cee1\"\n    col2 \u003c- \"white\"\n\n    ggplot(pulsar, aes(x = x, y = y, height = z, group = y)) +\n      geom_ridgeline(\n        min_height = min(pulsar$z),\n        scale = 0.2,\n        linewidth = 0.5,\n        fill = col1,\n        colour = col2\n      ) +\n      scale_y_reverse() +\n      theme_void() +\n      theme(\n        panel.background = element_rect(fill = col1),\n        plot.background = element_rect(fill = col1, color = col1),\n      )\n\n![](README_files/figure-markdown_strict/plot2-1.png)\n\n### Joy Division’s Unknown Pleasures (1979)\n\n    col1 \u003c- \"black\"\n    col2 \u003c- \"white\"\n\n    ggplot(pulsar, aes(x = x, y = y, height = z, group = y)) +\n      geom_ridgeline(\n        min_height = min(pulsar$z),\n        scale = 0.2,\n        linewidth = 0.5,\n        fill = col1,\n        colour = col2\n      ) +\n      scale_y_reverse() +\n      theme_void() +\n      theme(\n        panel.background = element_rect(fill = col1),\n        plot.background = element_rect(fill = col1, color = col1),\n      )\n\n![](README_files/figure-markdown_strict/plot3-1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fcp1919","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpachadotdev%2Fcp1919","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fcp1919/lists"}