needed_records {gatoRs} | R Documentation |
Identify Missing Information - Find records with redacted or missing data
Description
The needed_records()
function identifies records with flags, therefore withheld. This indicates that information
is withheld from these records due to endangered species status, for example. Accessing this information may
require a permit. Or, these records can be removed from the data set with remove_redacted()
.
Usage
needed_records(df, info.withheld = "informationWithheld")
Arguments
df |
A data frame downloaded with |
info.withheld |
Default = "informationWithheld". The name of the information withheld column in the data frame. |
Details
This function requires no additional packages.
Value
A data frame with only records for which locality was flagged as redacted or missing.
Information about the columns in the returned data frame can be found in the documentation for gators_download()
.
Examples
need_info <- needed_records(data)
[Package gatoRs version 1.0.2 Index]