Package: planscorer 0.0.2

planscorer: Score Redistricting Plans with 'PlanScore'

Provides access to the 'PlanScore' Application Programming Interface (<https://github.com/PlanScore/PlanScore/blob/main/API.md>) for scoring redistricting plans. Allows for upload of plans from block assignment files and shape files. For shapes in memory, such as from 'sf' or 'redist', it processes them to save and upload. Includes tools for tidying responses and saving output from the website.

Authors:Christopher T. Kenny [aut, trl, cre], Michal Migurski [aut], Cory McCartan [art]

planscorer_0.0.2.tar.gz
planscorer_0.0.2.zip(r-4.5)planscorer_0.0.2.zip(r-4.4)planscorer_0.0.2.zip(r-4.3)
planscorer_0.0.2.tgz(r-4.4-any)planscorer_0.0.2.tgz(r-4.3-any)
planscorer_0.0.2.tar.gz(r-4.5-noble)planscorer_0.0.2.tar.gz(r-4.4-noble)
planscorer_0.0.2.tgz(r-4.4-emscripten)planscorer_0.0.2.tgz(r-4.3-emscripten)
planscorer.pdf |planscorer.html
planscorer/json (API)
NEWS

# Install 'planscorer' in R:
install.packages('planscorer', repos = c('https://christopherkenny.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/christopherkenny/planscorer/issues

Pkgdown site:https://christophertkenny.com

On CRAN:

3.30 score 3 scripts 540 downloads 11 exports 61 dependencies

Last updated 4 months agofrom:d8f2d2bb83. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKDec 24 2024
R-4.5-winOKDec 24 2024
R-4.5-linuxOKDec 24 2024
R-4.4-winOKDec 24 2024
R-4.4-macOKDec 24 2024
R-4.3-winOKDec 24 2024
R-4.3-macOKDec 24 2024

Exports:ps_captureps_get_keyps_has_keyps_ingestps_model_versionsps_saveps_set_keyps_supported_statesps_upload_fileps_upload_redistps_upload_shp

Dependencies:AsioHeadersaskpassbitbit64callrchromoteclassclassIntclicliprcpp11crayoncurlDBIdplyre1071fansifastmapfsgenericsgluehmshttr2jsonliteKernSmoothlaterlifecyclemagrittrMASSopensslpillarpkgconfigprettyunitsprocessxprogresspromisesproxypspurrrR6rappdirsRcppreadrrlangs2sfstringistringrsystibbletidyrtidyselecttzdbunitsutf8vctrsvroomwebshot2websocketwithrwk

Readme and manuals

Help Manual

Help pageTopics
Check or Get PlanScore API Keykey ps_get_key ps_has_key
Capture PlanScore Graphsps_capture
Ingest PlanScore Outputps_ingest
List Model Versionsps_model_versions
Save PlanScore Outputps_save
Add Entry to Renvironps_set_key
List Currently Supported Statesps_supported_states
Upload to PlanScoreps_upload_file ps_upload_redist ps_upload_shp upload