{"id":25645641,"url":"https://github.com/fipelle/cemicrodata.jl","last_synced_at":"2026-06-19T15:02:10.890Z","repository":{"id":61800204,"uuid":"435001555","full_name":"fipelle/CeMicrodata.jl","owner":"fipelle","description":"Pull data from the Consumer Expenditure (CE) Public Use Microdata (PUMD) into Julia","archived":false,"fork":false,"pushed_at":"2024-06-23T01:02:07.000Z","size":89,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T04:46:41.333Z","etag":null,"topics":["bls","cex","consumer-expenditure","julia","public-use-microdata","pumd"],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fipelle.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":"2021-12-04T20:24:22.000Z","updated_at":"2022-07-06T15:30:21.000Z","dependencies_parsed_at":"2024-01-18T23:00:05.041Z","dependency_job_id":"330e50fb-c112-4991-9119-585777b5cda8","html_url":"https://github.com/fipelle/CeMicrodata.jl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fipelle%2FCeMicrodata.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fipelle%2FCeMicrodata.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fipelle%2FCeMicrodata.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fipelle%2FCeMicrodata.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fipelle","download_url":"https://codeload.github.com/fipelle/CeMicrodata.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240292391,"owners_count":19778311,"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":["bls","cex","consumer-expenditure","julia","public-use-microdata","pumd"],"created_at":"2025-02-23T09:17:39.981Z","updated_at":"2025-11-14T15:10:09.228Z","avatar_url":"https://github.com/fipelle.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CeMicrodata.jl\n```CeMicrodata.jl``` pulls data from the Consumer Expenditure (CE) Public Use Microdata (PUMD) into Julia.\n\n## Installation\n\nThe package can be installed with the Julia package manager.\nFrom the Julia REPL, type `]` to enter the Pkg REPL mode and run:\n\n```\npkg\u003e add CeMicrodata\n```\n\nOr, equivalently, via the `Pkg` API:\n\n```julia\njulia\u003e import Pkg; Pkg.add(\"CeMicrodata\")\n```\n\nNote: the package depends on ```unzip``` which needs to be manually installed and available from the terminal.\n\n## Example\n\n```julia\n# Collect income data\nusing CeMicrodata, CSV, Dates, DataFrames, PlotlyJS, Statistics;\nprefixes=[\"itbi\", \"mtbi\", \"fmli\"];\noutput = get_data(prefixes, true, 1990, 2020);\nhh_output = get_hh_level(output[1], is_itbi=true, UCC_selection=[\"900000\"], quarterly_aggregation=false);\n\n# Aggregate data\nhh_output_aggregate = combine(groupby(hh_output, [:REF_DATE]), :HH_DATA=\u003emean);\nPlotlyJS.plot(\n    hh_output_aggregate,\n    x=:REF_DATE, \n    y=:HH_DATA_mean, \n)\n\n# Plotting\nhh_output_plot = copy(hh_output);\nhh_output_plot[!,:REF_YEAR] = lastdayofyear.(hh_output_plot[!,:REF_DATE]);\nhh_output_plot = combine(groupby(hh_output_plot, [:CUSTOM_CUID, :REF_YEAR]), :HH_DATA=\u003esum);\nPlotlyJS.plot(\n    hh_output_plot,\n    x=:REF_YEAR, \n    y=:HH_DATA_sum, \n    kind=\"violin\", \n    meanline_visible=true, \n    side=\"positive\", \n    points=false\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffipelle%2Fcemicrodata.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffipelle%2Fcemicrodata.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffipelle%2Fcemicrodata.jl/lists"}