Skip to content

ddp

Desirable Dietary Pattern

v0.0.3 · May 8, 2021 · GPL-3

Description

The desirable Dietary Pattern (DDP)/ PPH score measures the variety of food consumption. The (weighted) score is calculated based on the type of food. This package is intended to calculate the DDP/ PPH score that is faster than traditional method via a manual calculation by BKP (2017) <http://bkp.pertanian.go.id/storage/app/uploads/public/5bf/ca9/06b/5bfca906bc654274163456.pdf> and is simpler than the nutrition survey <http://www.nutrisurvey.de>. The database to create weights and baseline values is the Indonesia national survey in 2017.

Downloads

CRAN

237

Last 30 days

18559th

679

Last 90 days

2.4K

Last year

Trend: +39.4% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

26

Last 90 days

101

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

2

Last 7 days

4

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

Rd files

Warning in file() :
  cannot open file '/tmp/RtmpJCWBoE/Rf3e7b9b46d6d1ad': No space left on device
Error in file() : cannot open the connection
Calls: <Anonymous> ... initialRdMacros -> loadRdMacros -> parse_Rd -> file
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Version History

3 tracked
new 0.0.3 Mar 10, 2026
updated 0.0.3 ← 0.0.2 diff May 7, 2021
new 0.0.2 Aug 2, 2020