Before revision:  This article discusses the R and Stata package lpdensity implementing a novel local polynomial density estimator proposed and studied in Cattaneo, Jansson, and Ma ( 2020a, b ), which is boundary adaptive and involves only one tuning parameter.
After revision:  This article discusses the R and Stata package lpdensity implementing a novel local polynomial density estimator proposed and studied in Cattaneo, Jansson, and Ma ( 2020, 2021 ), which is boundary adaptive and involves only one tuning parameter.