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

On CRAN:

11 exports 3.30 score 61 dependencies 3 scripts 544 downloads

Last updated 10 days agofrom:d8f2d2bb83. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 25 2024
R-4.5-winOKSep 25 2024
R-4.5-linuxOKSep 25 2024
R-4.4-winOKSep 25 2024
R-4.4-macOKSep 25 2024
R-4.3-winOKSep 25 2024
R-4.3-macOKSep 25 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