{
  "_id": "6aaa6b2dea78b3e62eacc416",
  "Package": "cspp",
  "Type": "Package",
  "Title": "A Tool for the Correlates of State Policy Project Data",
  "Version": "0.3.3",
  "Author": "Caleb Lucas (https://caleblucas.com/) and Joshua McCrain\n(http://joshuamccrain.com/)",
  "Maintainer": "Caleb Lucas <calebjlucas@gmail.com>",
  "Description": "A tool that imports, subsets, visualizes, and exports the\nCorrelates of State Policy Project dataset assembled by Marty\nP. Jordan and Matt Grossmann (2020)\n<http://ippsr.msu.edu/public-policy/correlates-state-policy>.\nThe Correlates data contains over 2000 variables across more\nthan 100 years that pertain to state politics and policy in the\nUnited States. Users with only a basic understanding of R can\nsubset this data across multiple dimensions, export their\nsearch results, create map visualizations, export the citations\nassociated with their searches, and more.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Language": "en-US",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-16 10:05:10 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://caleblucas.r-universe.dev",
  "Date/Publication": "2022-12-16 23:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/cspp",
  "RemoteRef": "HEAD",
  "RemoteSha": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
  "_user": "caleblucas",
  "_type": "src",
  "_file": "cspp_0.3.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/c15021d541bd00b155fae612f323a6a43add7e6b4bfd24218ada4bed67f8f94c",
  "_filesize": 5340264,
  "_sha256": "c15021d541bd00b155fae612f323a6a43add7e6b4bfd24218ada4bed67f8f94c",
  "_expires": "2026-12-25T10:10:51.000Z",
  "_created": "2026-09-16T10:05:10.000Z",
  "_published": "2026-09-16T10:10:53.879Z",
  "_jobs": [
    {
      "job": 104751433311,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10441227406"
    },
    {
      "job": 104751433282,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10440393994"
    },
    {
      "job": 104751433443,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10441131769"
    },
    {
      "job": 104751433399,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10440304137"
    },
    {
      "job": 104750057242,
      "time": 266,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10441116155"
    },
    {
      "job": 104751433384,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10441436522"
    },
    {
      "job": 104751433358,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10441345924"
    },
    {
      "job": 104751433433,
      "time": 95,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10440634417"
    },
    {
      "job": 104751433478,
      "time": 83,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10441037671"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598",
  "_status": "success",
  "_upstream": "https://github.com/cran/cspp",
  "_commit": {
    "id": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
    "author": "Caleb Lucas <calebjlucas@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.3\n",
    "time": 1671232802
  },
  "_maintainer": {
    "name": "Caleb Lucas",
    "email": "calebjlucas@gmail.com",
    "login": "caleblucas",
    "description": "Political Scientist",
    "uuid": 19397887
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "mapproj",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "csppData",
      "role": "Imports"
    },
    {
      "package": "ggcorrplot",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "ggraph",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "caleblucas",
      "count": 2,
      "uuid": 19397887
    },
    {
      "user": "jmccrain",
      "count": 2,
      "uuid": 51973413
    }
  ],
  "_userbio": {
    "uuid": 19397887,
    "type": "user",
    "name": "Caleb Lucas",
    "followers": 9,
    "description": "Political Scientist"
  },
  "_downloads": {
    "count": 382,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cspp"
  },
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cspp.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "caleblucas",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2020-10-27"
    },
    {
      "version": "0.3.1",
      "date": "2021-01-05"
    },
    {
      "version": "0.3.2",
      "date": "2021-10-17"
    },
    {
      "version": "0.3.3",
      "date": "2022-12-17"
    }
  ],
  "_exports": [
    "corr_plot",
    "generate_map",
    "get_cites",
    "get_cspp_data",
    "get_network_data",
    "get_var_info",
    "plot_panel"
  ],
  "_datasets": [
    {
      "name": "map_example",
      "title": "Sample Dataset for Working with generate_map()",
      "object": "map_example",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "year",
        "poptotal"
      ],
      "rows": 51,
      "table": true,
      "tojson": true
    },
    {
      "name": "network_data",
      "title": "State Network data (IPPSR)",
      "object": "network_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "State1",
        "State2",
        "st.abb2",
        "st.abb1",
        "dyadid",
        "S1region",
        "S2region",
        "S1division",
        "S2division",
        "Border",
        "Distance",
        "State1_Lat",
        "State1_Long",
        "State2_Lat",
        "State2_Long",
        "ACS_Migration",
        "PopDif",
        "State1_Pop",
        "State2_Pop",
        "IncomingFlights",
        "IRS_migration",
        "Income",
        "IRS_migration_2010",
        "Income_2010",
        "Imports",
        "GSPDif",
        "S1GSP",
        "S2GSP",
        "DemDif",
        "S1AvgDem",
        "S2AvgDem",
        "S1SenDemProp",
        "S1HSDemProp",
        "S2SenDemProp",
        "S2HSDemProp",
        "IdeologyDif",
        "PIDDif",
        "S1Ideology",
        "S1PID",
        "S2Ideology",
        "S2PID",
        "policy_diffusion_tie",
        "policy_diffusion_2015",
        "policy_diffusion_2000.2015",
        "LibDif",
        "ELibDif",
        "SLibDif",
        "S1EconomicLiberalism",
        "S1SocialLiberalism",
        "S2EconomicLiberalism",
        "S2SocialLiberalism",
        "MassSocLibDif",
        "MassEconLibDif",
        "PolSocLibDif",
        "PolEconLibDif",
        "State1PolSocLib",
        "State1PolEconLib",
        "State1MassSocLib",
        "State1MassEconLib",
        "State2PolSocLib",
        "State2PolEconLib",
        "State2MassSocLib",
        "State2MassEconLib",
        "perceived_similarity",
        "RaceDif",
        "LatinoDif",
        "WhiteDif",
        "BlackDif",
        "AsianDif",
        "NativeDif",
        "S1Latino",
        "S1White",
        "S1Black",
        "S1Asian",
        "S1Native",
        "S2Latino",
        "S2White",
        "S2Black",
        "S2Asian",
        "S2Native",
        "ReligDif",
        "ChristianDif",
        "EvangelicalDif",
        "MainlineDif",
        "BPDif",
        "CatholicDif",
        "MormonDif",
        "JewishDif",
        "MuslimDif",
        "BuddhistDif",
        "HinduDif",
        "NonesDif",
        "NPDif",
        "ReligiosityDif",
        "S1Christian",
        "S1Evangelical",
        "S1Mainline",
        "S1BlackProt",
        "S1Catholic",
        "S1Mormon",
        "S1Jewish",
        "S1Muslim",
        "S1Buddhist",
        "S1Hindu",
        "S1Nones",
        "S1NothingParticular",
        "S1HighlyReligious",
        "S2Christian",
        "S2Evangelical",
        "S2Mainline",
        "S2BlackProt",
        "S2Catholic",
        "S2Mormon",
        "S2Jewish",
        "S2Muslim",
        "S2Buddhist",
        "S2Hindu",
        "S2Nones",
        "S2NothingParticular",
        "S2HighlyReligious"
      ],
      "rows": 2550,
      "table": true,
      "tojson": true
    },
    {
      "name": "network_vars",
      "title": "State Network (IPPSR) Dataset Variable Names",
      "object": "network_vars",
      "class": [
        "data.frame"
      ],
      "fields": [
        "var_names",
        "category"
      ],
      "rows": 118,
      "table": true,
      "tojson": true
    },
    {
      "name": "var_names_db",
      "title": "Correlates of State Policy Project Dataset (IPPSR) Variable Names",
      "object": "var_names_db",
      "class": [
        "data.frame"
      ],
      "fields": [
        "var_names",
        "category",
        "addl_notes"
      ],
      "rows": 2179,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "corr_plot",
      "title": "Create correlation plots of CSPP data",
      "topics": [
        "corr_plot"
      ]
    },
    {
      "page": "generate_map",
      "title": "Generate map visualizations (choropleths) of CSPP data",
      "topics": [
        "generate_map"
      ]
    },
    {
      "page": "get_cites",
      "title": "Get citations for CSPP variables",
      "topics": [
        "get_cites"
      ]
    },
    {
      "page": "get_cspp_data",
      "title": "Load CSPP data into the R environment",
      "topics": [
        "get_cspp_data"
      ]
    },
    {
      "page": "get_network_data",
      "title": "Get state networks data",
      "topics": [
        "get_network_data"
      ]
    },
    {
      "page": "get_var_info",
      "title": "Get information regarding the CSPP variables",
      "topics": [
        "get_var_info"
      ]
    },
    {
      "page": "map_example",
      "title": "Sample Dataset for Working with generate_map()",
      "topics": [
        "map_example"
      ]
    },
    {
      "page": "network_data",
      "title": "State Network data (IPPSR)",
      "topics": [
        "network_data"
      ]
    },
    {
      "page": "network_vars",
      "title": "State Network (IPPSR) Dataset Variable Names",
      "topics": [
        "network_vars"
      ]
    },
    {
      "page": "plot_panel",
      "title": "Generate time series plots of CSPP data",
      "topics": [
        "plot_panel"
      ]
    },
    {
      "page": "var_names_db",
      "title": "Correlates of State Policy Project Dataset (IPPSR) Variable Names",
      "topics": [
        "var_names_db"
      ]
    }
  ],
  "_readme": "https://github.com/cran/cspp/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "csppData",
    "dplyr",
    "farver",
    "forcats",
    "generics",
    "ggcorrplot",
    "ggplot2",
    "glue",
    "gtable",
    "haven",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "mapproj",
    "maps",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cspp-vignette.Rmd",
      "filename": "cspp-vignette.html",
      "title": "cspp: A Package for The Correlates of State Policy Project Data",
      "author": "Caleb LucasJoshua McCrain",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic Use: Finding and Returning State Politics Data",
        "Finding Variables",
        "Pulling data",
        "Citations",
        "Maps and Choropleths",
        "Plot timeseries data",
        "Network data",
        "Network Plotting Examples"
      ],
      "created": "2020-10-27 13:10:11",
      "modified": "2021-10-16 22:30:19",
      "commits": 3
    }
  ],
  "_score": 2.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "cspp",
  "_universes": [
    "caleblucas"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-09-16T10:07:56.000Z",
      "distro": "resolute",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/812885884c6f6631476971f66de7d703ecee9fdfbd62e2e4e340e49d4e18bdca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-09-16T10:07:43.000Z",
      "distro": "resolute",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/0dada69ef70d5faef39598f18a4f60854327e7581471c3776973ec6f51907323",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-09-16T10:10:03.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/4147df248ba4e91f9a5a747e911bb27b4f5f904c3aaec7f501851f78e39ff816",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-09-16T10:07:16.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/0a91b1c6a6ae70972851bed49db3bbe9bb891b52c83f62275465a7ecf8fecc3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-09-16T10:07:50.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/9129669a0b0d91e8787f4e2e4cfc375bb329b418f23fe6cc94e37af6ce5c783a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-09-16T10:06:23.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/37d7a67d296470dda94cdaee53d8c7b584c7d69e15ba149e8b1982673e0c1a7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-09-16T10:06:29.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/ed2595af462da11fae35219c1faa8f3cca381317118d476a9d8bd6779dea8a47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-09-16T10:06:28.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/a6d6890965839efc6c4ec578847971efac412da5866c04c3a3603335a86069e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/35082627598"
    }
  ]
}