{
  "_id": "6afdcd9c117874b00e23e3b6",
  "Package": "measuringreligiouschange",
  "Type": "Package",
  "Title": "Demographic projections of religious groups",
  "Version": "1.0.2",
  "Date": "2026-11-13",
  "Authors@R": "c(\nperson(\n\"Michał\", \"Bożek\",\nemail = \"mbozek@uek.krakow.pl\",\nrole = c(\"aut\", \"cre\")\n),\nperson(\n\"Krzysztof\", \"Kiecoń\",\nemail = \"kieconk@uek.krakow.pl\",\nrole = c(\"aut\")\n),\nperson(\n\"Marcin\", \"Stonawski\",\nemail = \"stonawsm@uek.krakow.pl\",\nrole = c(\"aut\")\n)\n)",
  "Description": "Measuringreligiouschange is a package developed by the\nCenter for Advanced Studies of Population and Religion (CASPAR)\nfor a joint project with the Pew Research Center as part of the\nPew-Templeton Global Religious Futures project. The software\npackage can generate religious group population projections at\nthe global, regional and national level resulting from initial\nage-sex composition of populations, demographic processes\n(fertility, mortality and migration) and religious processes\n(transmission of religion between generations and religious\nswitching). The package is a flexible tool that can be used to\nnumerically reproduce the projections presented in the Pew\nResearch Center report “The Future of World Religions:\nPopulation Growth Projections, 2020-2070”, generate other\nprojection variants based on the included input data, or create\nprojections from user-supplied input data and adjustments to\ndemographic and religious processes. This package may be most\nuseful for users with training in demographic analysis and some\nexperience using and programming in R. For inquiries, please\ncontact: caspar@uek.krakow.pl.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Collate": "'plots_methods.R' 'region_base.R' 'class_base.R'\n'class_utilities.R' 'class_migration.R' 'class_projection.R'\n'class_plots.R' 'projection_class_base.R'\n'projection_class_utilities.R' 'projection_class_project.R'\n'projection_class_saving.R' 'projection_class_plots.R'\n'data_adjustment.R' 'Loader.R' 'Variants.R' 'datasets.R'\n'measuringreligiouschange-package.R' 'plots_comparative.R'\n'scenarios.R' 'wrappers.R' 'zzz.R'",
  "URL": "https://caspar-pl.github.io/measuringreligiouschange/,\nhttps://github.com/CASPAR-PL/measuringreligiouschange",
  "BugReports": "https://github.com/CASPAR-PL/measuringreligiouschange/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.1",
  "Repository": "https://caspar-pl.r-universe.dev",
  "Date/Publication": "2026-11-18 14:58:30 UTC",
  "RemoteUrl": "https://github.com/CASPAR-PL/measuringreligiouschange",
  "RemoteRef": "v1.0.2",
  "RemoteSha": "038bd40349230fbf8986664f7784f8a1146927e7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-18 15:53:22 UTC",
    "User": "root"
  },
  "Author": "Michał Bożek [aut, cre],\nKrzysztof Kiecoń [aut],\nMarcin Stonawski [aut]",
  "Maintainer": "Michał Bożek <mbozek@uek.krakow.pl>",
  "_user": "caspar-pl",
  "_type": "src",
  "_file": "measuringreligiouschange_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9120db36e55d9987de655ebf4a9e64ca5b98b3b8dce81141dae6870cde930fa7",
  "_filesize": 5723605,
  "_sha256": "9120db36e55d9987de655ebf4a9e64ca5b98b3b8dce81141dae6870cde930fa7",
  "_expires": "2027-02-26T16:08:56.000Z",
  "_created": "2026-11-18T15:53:22.000Z",
  "_published": "2026-11-20T01:08:44.567Z",
  "_upstream": "https://github.com/CASPAR-PL/measuringreligiouschange",
  "_status": "success",
  "_maintainer": {
    "name": "Michał Bożek",
    "email": "mbozek@uek.krakow.pl"
  },
  "_jobs": [
    {
      "job": 134930254725,
      "time": 886,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14445351609"
    },
    {
      "job": 134930255053,
      "time": 716,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14443768548"
    },
    {
      "job": 134930254649,
      "time": 667,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14444896519"
    },
    {
      "job": 134930254730,
      "time": 676,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14444322604"
    },
    {
      "job": 134927600583,
      "time": 231,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14442384247"
    },
    {
      "job": 134930254617,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14442738910"
    },
    {
      "job": 134930255009,
      "time": 770,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14444522329"
    },
    {
      "job": 134930254686,
      "time": 834,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14443863590"
    },
    {
      "job": 134930254877,
      "time": 602,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14444267974"
    }
  ],
  "_buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840",
  "_commit": {
    "id": "038bd40349230fbf8986664f7784f8a1146927e7",
    "author": "BoguSWD <michalbozek2002@gmail.com>",
    "committer": "BoguSWD <michalbozek2002@gmail.com>",
    "message": "Update MRC_manual_V1.0.2.pdf\n",
    "time": 1795013910
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "caspar-pl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-47",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2",
      "date": "2026-11-18"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nieznanyimaninja",
      "count": 5,
      "uuid": 56263381
    }
  ],
  "_userbio": {
    "uuid": 253897630,
    "type": "organization",
    "name": "CASPAR-PL",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/measuringreligiouschange"
  },
  "_devurl": "https://github.com/caspar-pl/measuringreligiouschange",
  "_pkgdown": "https://caspar-pl.github.io/measuringreligiouschange/",
  "_abi": {
    "exports": [
      {
        "key": "measuringreligiouschange::Country_object",
        "hash": "132568cc8c0908a2"
      },
      {
        "key": "measuringreligiouschange::Projection_object",
        "hash": "28050965744247ce"
      },
      {
        "key": "measuringreligiouschange::Region_object",
        "hash": "32b916b220cc80c9"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/measuringreligiouschange.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "base_object_generator",
    "create_country_list",
    "create_projection_object",
    "create_region_list",
    "project",
    "save_csv_all",
    "save_plots_all",
    "save_plots_comparative_all",
    "save_plots_comparative_regions_all",
    "save_plots_regions_all",
    "test_object_generator",
    "variants_loader"
  ],
  "_datasets": [
    {
      "name": "base_data_list",
      "title": "default data list",
      "object": "base_data_list",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "base_data_list",
      "title": "default data list",
      "concept": [
        "base_data"
      ],
      "topics": [
        "base_data_list"
      ]
    },
    {
      "page": "base_object_generator",
      "title": "Generate main Pew scenarios",
      "topics": [
        "base_object_generator"
      ]
    },
    {
      "page": "Country_object-class",
      "title": "Reference Class representing a country as Country_object",
      "topics": [
        "Country_object",
        "Country_object-class"
      ]
    },
    {
      "page": "create_country_list",
      "title": "Loading data and creating list of Country_objects",
      "topics": [
        "create_country_list"
      ]
    },
    {
      "page": "create_projection_object",
      "title": "Creating projection_object",
      "topics": [
        "create_projection_object"
      ]
    },
    {
      "page": "create_region_list",
      "title": "Creating list of Region_objects",
      "topics": [
        "create_region_list"
      ]
    },
    {
      "page": "data_asfr",
      "title": "Age-Specific Fertility Rates dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_asfr"
      ]
    },
    {
      "page": "data_births_ratio",
      "title": "Sex ratio at birth dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_births_ratio"
      ]
    },
    {
      "page": "data_fertility_differentials",
      "title": "Fertility differentials dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_fertility_differentials"
      ]
    },
    {
      "page": "data_migration_destination",
      "title": "Migration destination matrices dataset.",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_migration_destination"
      ]
    },
    {
      "page": "data_migration_rates",
      "title": "Out-migration rates dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_migration_rates"
      ]
    },
    {
      "page": "data_population",
      "title": "Population dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_population"
      ]
    },
    {
      "page": "data_regions",
      "title": "Regions dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_regions"
      ]
    },
    {
      "page": "data_structure",
      "title": "Population structure dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_structure"
      ]
    },
    {
      "page": "data_survivability",
      "title": "Survival rates (nSx) dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_survivability"
      ]
    },
    {
      "page": "data_switching",
      "title": "religion switching dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "data_switching"
      ]
    },
    {
      "page": "info_variants",
      "title": "Scenario variants settings dataset",
      "concept": [
        "base_data"
      ],
      "topics": [
        "info_variants"
      ]
    },
    {
      "page": "project",
      "title": "Conducting MRC projection",
      "topics": [
        "project"
      ]
    },
    {
      "page": "Projection_object-class",
      "title": "A reference class containing data and parameters needed for projection.",
      "topics": [
        "Projection_object",
        "Projection_object-class"
      ]
    },
    {
      "page": "Region_object-class",
      "title": "Reference Class representing a region as Region_object",
      "topics": [
        "Region_object",
        "Region_object-class"
      ]
    },
    {
      "page": "save_csv_all",
      "title": "Saving projection results to CSV files",
      "topics": [
        "save_csv_all"
      ]
    },
    {
      "page": "save_plots_all",
      "title": "Creating and saving projection results plots to PDF files",
      "topics": [
        "save_plots_all"
      ]
    },
    {
      "page": "save_plots_comparative_all",
      "title": "Saving country comparative plots to .pdf file(s)",
      "topics": [
        "save_plots_comparative_all"
      ]
    },
    {
      "page": "save_plots_comparative_regions_all",
      "title": "Saving region comparative plots to .pdf file(s)",
      "topics": [
        "save_plots_comparative_regions_all"
      ]
    },
    {
      "page": "save_plots_regions_all",
      "title": "Creating and saving region projection results plots to PDF files",
      "topics": [
        "save_plots_regions_all"
      ]
    },
    {
      "page": "test_object_generator",
      "title": "Generate a 3-country test projection",
      "topics": [
        "test_object_generator"
      ]
    },
    {
      "page": "variants_loader",
      "title": "Calculate variant and create modified country_list_object",
      "topics": [
        "variants_loader"
      ]
    }
  ],
  "_readme": "https://github.com/CASPAR-PL/measuringreligiouschange/raw/v1.0.2/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "data.table",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "conducting-projections.Rmd",
      "filename": "conducting-projections.html",
      "title": "Conducting an MRC Projection",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1  Create a country list — create_country_list()",
        "2  Assemble a projection — create_projection_object() + variants_loader()",
        "3  Run the projection — project()",
        "4  Convenience helpers",
        "base_object_generator()",
        "test_object_generator()"
      ],
      "created": "2026-11-18 14:12:08",
      "modified": "2026-11-18 14:12:08",
      "commits": 1
    },
    {
      "source": "exporting-results.Rmd",
      "filename": "exporting-results.html",
      "title": "Exporting Projection Results",
      "engine": "knitr::rmarkdown",
      "headings": [
        "save_csv_all()",
        "Files controlled by demographic_files",
        "1 · projection_structure_data.csv",
        "2 · projection_deaths_data.csv",
        "3 · projection_births_data.csv",
        "4 · projection_asfr_data.csv",
        "5 · projection_fertility_exposure_data.csv",
        "6 · projection_fertility_differentials.csv",
        "Files controlled by switching_files",
        "7 · projection_switchers_data.csv",
        "8 · projection_switching_matrices.csv",
        "Files controlled by migration_files",
        "9 · projection_emigration_data.csv",
        "10 · projection_immigration_data.csv"
      ],
      "created": "2026-11-18 14:12:08",
      "modified": "2026-11-18 14:12:08",
      "commits": 1
    },
    {
      "source": "inner-workings.Rmd",
      "filename": "inner-workings.html",
      "title": "Inner Workings",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1  Object structure",
        "Country_object",
        "Projection_object",
        "2  The loader — Loader.R",
        "base_data_list slot reference",
        "Processing pipeline inside create_country_list()",
        "migration_limit_check()",
        "country_info_adjustment()",
        "structure_data_adjustment()",
        "object_loader()",
        "error_check()",
        "Country-list ownership lock",
        "3  Switching decomposition — switching_matrix_creator()",
        "Algorithm",
        "4  Main procedure — dem_proj_no_mig()",
        "Partitioned switching (switching_type = 1)",
        "Non-partitioned (switching_type = 2)",
        "5  Fertility factorisation — fertility_step()",
        "Shared input",
        "Path A — combined factorisation (combined_fertility_factorization = TRUE)",
        "Path B — per-age-group factorisation (combined_fertility_factorization = FALSE)",
        "6  Full single step — project()",
        "Migration = FALSE",
        "Migration = TRUE"
      ],
      "created": "2026-11-18 14:12:08",
      "modified": "2026-11-18 14:12:08",
      "commits": 1
    },
    {
      "source": "visualising-projections.Rmd",
      "filename": "visualising-projections.html",
      "title": "Visualising MRC Projection Results",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1  Country-level plots — save_plots_all()",
        "Plot variants by flag",
        "Example output — USA (code 840)",
        "2  Region-level plots — save_plots_regions_all()",
        "3  Comparative plots — plot_comparative() and save_plots_comparative_all()",
        "plot_comparative() — single plot, returned as a ggplot object",
        "save_plots_comparative_all() — saves all types for every country",
        "Comparative plot types by flag",
        "Example output — USA, normal vs no-differential fertility"
      ],
      "created": "2026-11-18 14:12:08",
      "modified": "2026-11-18 14:12:08",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "measuringreligiouschange",
  "_universes": [
    "caspar-pl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-18T15:56:19.000Z",
      "distro": "resolute",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/193ff49c9d9e924064ca8ef50a65746b12bd439d64bd44c674cfe9e406ded4b3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-18T15:55:31.000Z",
      "distro": "resolute",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/b3c26f43c4c1025c5028cc943472ba6a1db0d59ef1a48894596419724620e6d8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-18T15:56:01.000Z",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/645b87396203e5c640fc46d228bec752ac39383a9e9b2a57f9911ba726283396",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-18T15:56:32.000Z",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/4ffc5b51471082addc24f6239ce621f75d5d6f4c16ff98e892d7cd4c8eba2184",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-11-18T15:55:23.000Z",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/18b57ed0babe6b11308cb52a6478995f87caa8b4486ecd250ad5d6706fc00106",
      "status": "success",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-18T15:55:13.000Z",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/815e1fccc50561585991607e4fe61fbf09d522aea514d5d28ebd229ca27ed8c1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-18T15:54:40.000Z",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/46996cfa15b93cb205ad5bc9a367b71c98f3a81d44ecca8237bcd961ba391297",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-18T15:54:33.000Z",
      "commit": "038bd40349230fbf8986664f7784f8a1146927e7",
      "fileid": "https://r2.ropensci.org/8d4f9d702480da4f25717cf3aa348b20b03df9fe55b943e166fea88e9b20245c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/caspar-pl/actions/runs/44340104840"
    }
  ]
}