{"id":19483524,"url":"https://github.com/librity/ignite_productivity_report","last_synced_at":"2026-05-14T21:35:41.319Z","repository":{"id":99703962,"uuid":"346242439","full_name":"librity/ignite_productivity_report","owner":"librity","description":"Rocket Seat - Ignite - Elixir - Challenge 3 - A simple Elixir program that generates an employee productivity report from raw CSV data.","archived":false,"fork":false,"pushed_at":"2022-02-25T12:06:27.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T17:46:13.441Z","etag":null,"topics":["challenge","elixir","ignite","rocketseat"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/librity.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-03-10T05:27:57.000Z","updated_at":"2021-03-10T22:27:24.000Z","dependencies_parsed_at":"2023-07-31T13:17:00.680Z","dependency_job_id":null,"html_url":"https://github.com/librity/ignite_productivity_report","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/librity/ignite_productivity_report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_productivity_report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_productivity_report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_productivity_report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_productivity_report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/librity","download_url":"https://codeload.github.com/librity/ignite_productivity_report/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_productivity_report/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001983,"owners_count":26083243,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["challenge","elixir","ignite","rocketseat"],"created_at":"2024-11-10T20:15:25.623Z","updated_at":"2025-10-09T19:06:08.483Z","avatar_url":"https://github.com/librity.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProductivityReport\n\nA simple Elixir program that generates an employee productivity report from raw CSV data.\n\nCSV colums are parsed as name, hours worked, day, month and year.\n\n## Commands\n\n```bash\n$ mix deps.get\n$ mix credo gen.config\n$ mix credo\n$ mix credo --strict\n$ mix test\n```\n\nGenerate reports:\n\n```elixir\n\u003e ProductivityReport.build(\"test_report\")\n\u003e ProductivityReport.build(\"gen_report\")\n```\n\nMeasuring execution time in microseconds:\n\n```elixir\n\u003e :timer.tc(fn -\u003e ProductivityReport.build(\"test_report\") end)\n\u003e :timer.tc(fn -\u003e ProductivityReport.build(\"gen_report\") end)\n```\n\nExploring Elixir's syntax:\n\n```elixir\n\u003e %{a: 1, 2016: 4}\n** (SyntaxError) iex:1:13: unexpected token: \":\" (column 13, code point U+003A)\n\u003e %{a: 1, \"2016\": 4}\n%{\"2016\": 4, a: 1}\n\u003e map = %{:a =\u003e 1, 2016 =\u003e 4}\n%{2016 =\u003e 4, :a =\u003e 1}\n\u003e Map.get(map, 2016, :default)\n4\n\u003e Map.get(map, 2017, :default)\n:default\n```\n\n## Resources\n\n- https://www.tutorialspoint.com/elixir/elixir_data_types.htm\n- https://stackoverflow.com/questions/43630781/convert-integer-to-atom-in-elixir\n- https://hexdocs.pm/elixir/master/Date.html\n- https://hexdocs.pm/elixir/master/DateTime.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrity%2Fignite_productivity_report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrity%2Fignite_productivity_report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrity%2Fignite_productivity_report/lists"}