{
  "_id": "6abe6c6c99f7aa8c6aa56778",
  "Package": "cagedr",
  "Title": "Access Novo CAGED Microdata from the Brazilian Ministry of\nLabour",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"André\", \"Leite\", email = \"leite@castlab.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4718-9766\")),\nperson(\"Marcos\", \"Wasiliew\", email = \"marcos.wasiliew@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0009-0004-4694-3159\")),\nperson(\"Hugo\", \"Vasconcelos\", email = \"hugo.vasconcelos@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6249-0920\")),\nperson(\"Carlos\", \"Amorim\", email = \"carlos.agaf@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6315-8305\")),\nperson(\"Diogo\", \"Bezerra\", email = \"diogo.bezerra@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1216-8674\")),\nperson(\"Júlia\", \"Nascimento Barreto\",\nemail = \"juliabarreto@gd.seplag.pe.gov.br\", role = \"aut\",\ncomment = c(ORCID = \"0009-0004-2851-7770\")))",
  "Description": "Download and read the public, non-identified microdata of\nthe Novo CAGED (Cadastro Geral de Empregados e Desempregados),\nthe monthly registry of formal employment movements published\nby the Brazilian Ministry of Labour and Employment through the\nPDET FTP server <ftp://ftp.mtps.gov.br/pdet/microdados/>. Lists\nthe reference months available on the server, downloads the\nthree monthly files (movements declared on time, declared late,\nand exclusions) with an idempotent local cache, and reads the\nnational 7z archives as a stream, filtering by state and\nselecting columns before anything is kept in memory, so that a\nsingle state can be extracted without loading the full national\nfile. Also provides the official record layout and a helper to\nconsolidate admissions, separations and net balance by\nreference month.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "SystemRequirements": "libarchive (via the 'archive' package)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/StrategicProjects/cagedr,\nhttps://strategicprojects.github.io/cagedr/",
  "BugReports": "https://github.com/StrategicProjects/cagedr/issues",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libarchive-dev libicu-dev libssl-dev libx11-dev",
  "Repository": "https://strategicprojects.r-universe.dev",
  "Date/Publication": "2026-09-29 13:59:40 UTC",
  "RemoteUrl": "https://github.com/strategicprojects/cagedr",
  "RemoteRef": "HEAD",
  "RemoteSha": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-01 13:46:51 UTC",
    "User": "root"
  },
  "Author": "André Leite [aut, cre] (ORCID: <https://orcid.org/0000-0002-4718-9766>),\nMarcos Wasiliew [aut] (ORCID: <https://orcid.org/0009-0004-4694-3159>),\nHugo Vasconcelos [aut] (ORCID: <https://orcid.org/0000-0001-6249-0920>),\nCarlos Amorim [aut] (ORCID: <https://orcid.org/0000-0001-6315-8305>),\nDiogo Bezerra [aut] (ORCID: <https://orcid.org/0000-0002-1216-8674>),\nJúlia Nascimento Barreto [aut] (ORCID:\n<https://orcid.org/0009-0004-2851-7770>)",
  "Maintainer": "André Leite <leite@castlab.org>",
  "_user": "strategicprojects",
  "_type": "src",
  "_file": "cagedr_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/3fdafec5c5a4e7a1e16ca21fa2f50d0f6a87b7a60ccc9706b43e5cabe7a037da",
  "_filesize": 156160,
  "_sha256": "3fdafec5c5a4e7a1e16ca21fa2f50d0f6a87b7a60ccc9706b43e5cabe7a037da",
  "_expires": "2027-01-09T14:21:31.000Z",
  "_created": "2026-10-01T13:46:51.000Z",
  "_published": "2026-10-01T14:21:32.737Z",
  "_jobs": [
    {
      "job": 110399368067,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11167455806"
    },
    {
      "job": 110399368005,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11166959575"
    },
    {
      "job": 110399368343,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11169210726"
    },
    {
      "job": 110399368064,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11169475329"
    },
    {
      "job": 110397394857,
      "time": 271,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11166679093"
    },
    {
      "job": 110399368060,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11167093037"
    },
    {
      "job": 110399368609,
      "time": 86,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11166769504"
    },
    {
      "job": 110399368378,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11166484543"
    },
    {
      "job": 110399368319,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11166479691"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543",
  "_status": "success",
  "_upstream": "https://github.com/strategicprojects/cagedr",
  "_commit": {
    "id": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
    "author": "André Leite <leite@de.ufpe.br>",
    "committer": "André Leite <leite@de.ufpe.br>",
    "message": "Spell the maintainer's name as André Leite\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1790690380
  },
  "_maintainer": {
    "name": "André Leite",
    "email": "leite@castlab.org",
    "orcid": "0000-0002-4718-9766"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "archive",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "curl",
      "version": ">= 5.0.0",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.2.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "strategicprojects",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-37",
      "n": 6
    },
    {
      "week": "2026-39",
      "n": 2
    },
    {
      "week": "2026-40",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "milkway",
      "count": 10,
      "uuid": 7375849
    }
  ],
  "_userbio": {
    "uuid": 127886513,
    "type": "organization",
    "name": "Projetos Estratégicos",
    "followers": 14,
    "description": "Repositório de código da Assessoria Especial de Projetos Estratégicos."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cagedr"
  },
  "_devurl": "https://github.com/strategicprojects/cagedr",
  "_pkgdown": "https://strategicprojects.github.io/cagedr/",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/cagedr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/strategicprojects/cagedr",
  "_realowner": "strategicprojects",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-30"
    }
  ],
  "_exports": [
    "caged_available",
    "caged_balance",
    "caged_cache_clear",
    "caged_cache_dir",
    "caged_cache_list",
    "caged_download",
    "caged_fetch",
    "caged_layout",
    "caged_periods",
    "caged_read"
  ],
  "_help": [
    {
      "page": "caged_available",
      "title": "List the reference months published on the PDET/MTE FTP server",
      "topics": [
        "caged_available"
      ]
    },
    {
      "page": "caged_balance",
      "title": "Consolidate admissions, separations and net balance",
      "topics": [
        "caged_balance"
      ]
    },
    {
      "page": "caged_cache_clear",
      "title": "Remove archives from the cache",
      "topics": [
        "caged_cache_clear"
      ]
    },
    {
      "page": "caged_cache_dir",
      "title": "Cache directory used by cagedr",
      "topics": [
        "caged_cache_dir"
      ]
    },
    {
      "page": "caged_cache_list",
      "title": "List the archives currently in the cache",
      "topics": [
        "caged_cache_list"
      ]
    },
    {
      "page": "caged_download",
      "title": "Download the monthly archives of the Novo CAGED",
      "topics": [
        "caged_download"
      ]
    },
    {
      "page": "caged_fetch",
      "title": "Download and read Novo CAGED microdata in one call",
      "topics": [
        "caged_fetch"
      ]
    },
    {
      "page": "caged_layout",
      "title": "Record layout of the Novo CAGED microdata",
      "topics": [
        "caged_layout"
      ]
    },
    {
      "page": "caged_periods",
      "title": "Build a sequence of reference months",
      "topics": [
        "caged_periods"
      ]
    },
    {
      "page": "caged_read",
      "title": "Read a Novo CAGED archive as a stream",
      "topics": [
        "caged_read"
      ]
    }
  ],
  "_pkglogo": "https://github.com/strategicprojects/cagedr/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/strategicprojects/cagedr/raw/HEAD/README.md",
  "_rundeps": [
    "archive",
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "readr",
    "rlang",
    "stringi",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with cagedr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What the Novo CAGED is",
        "Installation",
        "A sample archive ships with the package",
        "Reading one state",
        "Admissions, separations and net balance",
        "Working with the server"
      ],
      "created": "2026-09-11 18:48:48",
      "modified": "2026-09-11 20:08:04",
      "commits": 2
    },
    {
      "source": "streaming-and-cache.Rmd",
      "filename": "streaming-and-cache.html",
      "title": "Streaming, cache and data vintages",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How an archive is read",
        "Types",
        "Cache",
        "Vintages: why old months keep changing",
        "The first months of the series"
      ],
      "created": "2026-09-11 18:48:48",
      "modified": "2026-09-11 18:48:48",
      "commits": 1
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "cagedr",
  "_universes": [
    "strategicprojects"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-01T13:49:26.000Z",
      "distro": "resolute",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/9a7f2229af3bc32cc97cb4468943d7eb3c1279930c9203403060ae1764e67136",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-01T13:49:15.000Z",
      "distro": "resolute",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/b593ab55264099819987076c86ee1d6b50a1217ebe4563f15d41a02cb80cde2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-01T14:20:44.000Z",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/7df810c70ec2ad12f1e3f7becb7590dc6a88b6d6db9e1716ce1803dd4600a107",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-01T14:19:01.000Z",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/d4fb6e5197dec03c3a1e7752832581822d7ffa6b064ef505411edc2c303bd254",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-01T13:49:18.000Z",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/3e90f93acde8dbaea726367c958d427c38fcc07d528459972cb048c59b9b5a87",
      "status": "success",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-01T13:48:09.000Z",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/103a2f3e5fe763878600f3806a04757432a1b31c0820f65efafe5e9baa3a099c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-01T13:48:09.000Z",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/a595b63214f3eb3bc68d084535e8fcf35ef4a09afb84b0558a46bc770e52b969",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-01T13:48:01.000Z",
      "commit": "ce3282f0e09a2501188d93dbbaf4c885ccc28aca",
      "fileid": "https://r2.ropensci.org/14c46094f488707cc0e30f8482bfbc658f6e18c56f03dd8d35cf9efc13379db2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36870655543"
    }
  ]
}