Searches ACRIS for specified parties by parameters

acris_parties(entity_names = "HFZ", boroughs = "All",
  documents = "All", party_names = "All", date_from = "2015-01-01",
  date_to = Sys.Date(), resolve_parties = T,
  parse_all_documents = FALSE, rows_max = 999999, nest_data = FALSE,
  return_message = TRUE)

Arguments

entity_names

vector of entity names to search

boroughs

character vector of boroughs whose options include

  • All

  • Manhattan

  • Brooklyn

  • Bronx

  • Queens

  • Staten Island

documents

if not NULL type of documents

party_names

vector of party name type, default al

date_from

if not NULL, date records start

date_to

if not NULLm date records end

resolve_parties

if TRUE resolves parties

parse_all_documents

if TRUE parses detailed document data

rows_max

if not NULL

nest_data

if TRUE returns a nested data frame

return_message

if TRUE returns a message

Examples

# NOT RUN {
## Search for All Blackstone Property Partners {BPP} & HFZ recordings
library(dplyr)
df_ent <-
acris_parties(entity_names = c("HFZ", "BPP"),
boroughs = "All", documents = "All", party_names = "All", date_from = "2015-01-01",
date_to = Sys.Date(), resolve_parties = F, parse_all_documents = FALSE, rows_max = 999999, nest_data = FALSE, return_message = TRUE)
#'df_ent %>%
filter(typeDocument == "DEED") %>%
select(idDocument, amountDocument) %>%
distinct() %>%
left_join(
 df_ent
 ) %>%
 group_by(nameParty) %>%
 summarise(totalRecordings = sum(amountDocument, na.rm = T))

# }