Description Usage Arguments Details Value Examples
This function pulls a California Department of Pesticide Regulation Product Table for a vector of years.
1 | pull_product_table(years, quiet = FALSE)
|
years |
A vector of four digit years in the range of 1990 to 2017. |
quiet |
TRUE / FALSE indicating whether you would like a message and progress bar printed for the product table that is downloaded. The default value is FALSE. |
Product tables are pulled by year from the CDPR's FTP server. Downloaded tables are saved in a temporary environment, which is deleted at the end of the current R session.
A data frame with four columns:
Integer. The California Registration number for the pesticide
product. This corresponds to the prodno
column in a raw or cleaned PUR
data set returned from pull_raw_pur
or pull_clean_pur
.
Character. An indication of product registration status:
A = Active
B = Inactive
C = Inactive, Not Renewed
D = Inactive, Voluntary Cancellation
E = Inactive, Cancellation
F = Inactive, Suspended
G = Inactive, Invalid Data
H = Active, Suspended
Character. The name of the product taken from the registered product label. May have been modified by DPR's Registration Branch to ensure uniqueness.
Integer. The signal word printed on the front of the product label:
1 = Danger (Poison)
2 = Danger (Only)
3 = Warning
4 = Caution
5 = None
Integer. Four digit year indicating the year for which data was pulled.
1 | prod_95 <- pull_product_table(1995)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.