@@ -80,17 +80,17 @@ CompanyApi <- IntrinioSDK::CompanyApi$new(client)
80
80
81
81
# Optional params
82
82
opts <- list (
83
- latest_filing_date = as.Date( " \" ~null \" " ) ,
84
- sic = " ~null " ,
85
- template = " \" ~null \" " ,
86
- sector = " ~null " ,
87
- industry_category = " ~null " ,
88
- industry_group = " ~null " ,
89
- has_fundamentals = true ,
90
- has_stock_prices = true ,
91
- thea_enabled = " ~null " ,
83
+ latest_filing_date = NULL ,
84
+ sic = NULL ,
85
+ template = NULL ,
86
+ sector = NULL ,
87
+ industry_category = NULL ,
88
+ industry_group = NULL ,
89
+ has_fundamentals = TRUE ,
90
+ has_stock_prices = TRUE ,
91
+ thea_enabled = NULL ,
92
92
page_size = 100 ,
93
- next_page = " ~null "
93
+ next_page = NULL
94
94
)
95
95
96
96
response <- CompanyApi $ get_all_companies(opts )
@@ -116,8 +116,8 @@ Name | Type | Description | Notes
116
116
** sector** | Character| Return companies in the given industry sector | [ optional]   ;
117
117
** industry_category** | Character| Return companies in the given industry category | [ optional]   ;
118
118
** industry_group** | Character| Return companies in the given industry group | [ optional]   ;
119
- ** has_fundamentals** | Logical| Return only companies that have fundamentals when true | [ optional]   ;
120
- ** has_stock_prices** | Logical| Return only companies that have stock prices when true | [ optional]   ;
119
+ ** has_fundamentals** | Logical| Return only companies that have fundamentals when TRUE | [ optional]   ;
120
+ ** has_stock_prices** | Logical| Return only companies that have stock prices when TRUE | [ optional]   ;
121
121
** thea_enabled** | Logical| Return companies whose have been read by our Thea NLP and are ready for our company answers endpoint | [ optional]   ;
122
122
** page_size** | Integer| The number of results to return | [ optional] [ default to 100]   ;
123
123
** next_page** | Character| Gets the next page of data from a previous API call | [ optional]   ;
@@ -185,8 +185,8 @@ CompanyApi <- IntrinioSDK::CompanyApi$new(client)
185
185
opts <- list (
186
186
on_date = as.Date(" 2013-10-20" ),
187
187
page_size = 100 ,
188
- next_page = " ~null " ,
189
- next_page2 = " ~null "
188
+ next_page = NULL ,
189
+ next_page2 = NULL
190
190
)
191
191
192
192
response <- CompanyApi $ get_all_companies_daily_metrics(opts )
@@ -272,21 +272,21 @@ CompanyApi <- IntrinioSDK::CompanyApi$new(client)
272
272
273
273
# Optional params
274
274
opts <- list (
275
- specific_source = " \" ~null \" " ,
275
+ specific_source = NULL ,
276
276
page_size = 100 ,
277
- sentiment = " \" ~null \" " ,
278
- topic = " ~null " ,
277
+ sentiment = NULL ,
278
+ topic = NULL ,
279
279
company = " AAPL" ,
280
280
security = " AAPL" ,
281
- start_date = as.Date( " \" ~null \" " ) ,
282
- end_date = as.Date( " \" ~null \" " ) ,
283
- language = " ~null " ,
284
- word_count_greater_than = " ~null " ,
285
- word_count_less_than = " ~null " ,
286
- is_spam = " ~null " ,
287
- business_relevance_greater_than = " ~null " ,
288
- business_relevance_less_than = " ~null " ,
289
- next_page = " ~null "
281
+ start_date = NULL ,
282
+ end_date = NULL ,
283
+ language = NULL ,
284
+ word_count_greater_than = NULL ,
285
+ word_count_less_than = NULL ,
286
+ is_spam = NULL ,
287
+ business_relevance_greater_than = NULL ,
288
+ business_relevance_less_than = NULL ,
289
+ next_page = NULL
290
290
)
291
291
292
292
response <- CompanyApi $ get_all_company_news(opts )
@@ -552,8 +552,8 @@ identifier <- "AAPL"
552
552
opts <- list (
553
553
on_date = as.Date(" 2013-10-20" ),
554
554
page_size = 100 ,
555
- next_page = " ~null " ,
556
- next_page2 = " ~null "
555
+ next_page = NULL ,
556
+ next_page2 = NULL
557
557
)
558
558
559
559
response <- CompanyApi $ get_company_daily_metrics(identifier , opts )
@@ -809,12 +809,12 @@ identifier <- "AAPL"
809
809
810
810
# Optional params
811
811
opts <- list (
812
- report_type = " ~null " ,
813
- start_date = as.Date(" \" 2015-01-01\" " ),
814
- end_date = as.Date( " \" ~null \" " ) ,
815
- thea_enabled = " ~null " ,
812
+ report_type = NULL ,
813
+ start_date = as.Date(" 2015-01-01" ),
814
+ end_date = NULL ,
815
+ thea_enabled = NULL ,
816
816
page_size = 100 ,
817
- next_page = " ~null "
817
+ next_page = NULL
818
818
)
819
819
820
820
response <- CompanyApi $ get_company_filings(identifier , opts )
@@ -906,18 +906,18 @@ identifier <- "AAPL"
906
906
907
907
# Optional params
908
908
opts <- list (
909
- filed_after = as.Date( " \" ~null \" " ) ,
910
- filed_before = as.Date( " \" ~null \" " ) ,
911
- reported_only = false ,
912
- fiscal_year = " ~null " ,
913
- statement_code = " \" ~null \" " ,
914
- type = " \" ~null \" " ,
915
- start_date = as.Date( " \" ~null \" " ) ,
916
- end_date = as.Date( " \" ~null \" " ) ,
917
- updated_after = as.Date(" \" 2022-12-01\" " ),
918
- updated_before = as.Date(" \" 2022-12-01\" " ),
909
+ filed_after = NULL ,
910
+ filed_before = NULL ,
911
+ reported_only = FALSE ,
912
+ fiscal_year = NULL ,
913
+ statement_code = NULL ,
914
+ type = NULL ,
915
+ start_date = NULL ,
916
+ end_date = NULL ,
917
+ updated_after = as.Date(" 2022-12-01" ),
918
+ updated_before = as.Date(" 2022-12-01" ),
919
919
page_size = 100 ,
920
- next_page = " ~null "
920
+ next_page = NULL
921
921
)
922
922
923
923
response <- CompanyApi $ get_company_fundamentals(identifier , opts )
@@ -1017,12 +1017,12 @@ tag <- "marketcap"
1017
1017
# Optional params
1018
1018
opts <- list (
1019
1019
frequency = " daily" ,
1020
- type = " \" ~null \" " ,
1021
- start_date = as.Date(" \" 2018-01-01\" " ),
1022
- end_date = as.Date( " \" ~null \" " ) ,
1020
+ type = NULL ,
1021
+ start_date = as.Date(" 2018-01-01" ),
1022
+ end_date = NULL ,
1023
1023
sort_order = " desc" ,
1024
1024
page_size = 100 ,
1025
- next_page = " ~null "
1025
+ next_page = NULL
1026
1026
)
1027
1027
1028
1028
response <- CompanyApi $ get_company_historical_data(identifier , tag , opts )
@@ -1114,13 +1114,13 @@ CompanyApi <- IntrinioSDK::CompanyApi$new(client)
1114
1114
# Optional params
1115
1115
opts <- list (
1116
1116
ticker = " UBER" ,
1117
- status = " \" ~null \" " ,
1118
- start_date = as.Date( " \" ~null \" " ) ,
1119
- end_date = as.Date( " \" ~null \" " ) ,
1120
- offer_amount_greater_than = " ~null " ,
1121
- offer_amount_less_than = " ~null " ,
1117
+ status = NULL ,
1118
+ start_date = NULL ,
1119
+ end_date = NULL ,
1120
+ offer_amount_greater_than = NULL ,
1121
+ offer_amount_less_than = NULL ,
1122
1122
page_size = 100 ,
1123
- next_page = " ~null "
1123
+ next_page = NULL
1124
1124
)
1125
1125
1126
1126
response <- CompanyApi $ get_company_ipos(opts )
@@ -1213,20 +1213,20 @@ identifier <- "AAPL"
1213
1213
1214
1214
# Optional params
1215
1215
opts <- list (
1216
- specific_source = " \" ~null \" " ,
1216
+ specific_source = NULL ,
1217
1217
page_size = 100 ,
1218
- sentiment = " \" ~null \" " ,
1219
- topic = " ~null " ,
1218
+ sentiment = NULL ,
1219
+ topic = NULL ,
1220
1220
security = " AAPL" ,
1221
- start_date = as.Date( " \" ~null \" " ) ,
1222
- end_date = as.Date( " \" ~null \" " ) ,
1223
- language = " ~null " ,
1224
- word_count_greater_than = " ~null " ,
1225
- word_count_less_than = " ~null " ,
1226
- is_spam = " ~null " ,
1227
- business_relevance_greater_than = " ~null " ,
1228
- business_relevance_less_than = " ~null " ,
1229
- next_page = " ~null "
1221
+ start_date = NULL ,
1222
+ end_date = NULL ,
1223
+ language = NULL ,
1224
+ word_count_greater_than = NULL ,
1225
+ word_count_less_than = NULL ,
1226
+ is_spam = NULL ,
1227
+ business_relevance_greater_than = NULL ,
1228
+ business_relevance_less_than = NULL ,
1229
+ next_page = NULL
1230
1230
)
1231
1231
1232
1232
response <- CompanyApi $ get_company_news(identifier , opts )
@@ -1323,12 +1323,12 @@ CompanyApi <- IntrinioSDK::CompanyApi$new(client)
1323
1323
1324
1324
# Required params
1325
1325
news_story_id <- " new_aBcDef"
1326
- publication_date <- as.POSIXlt(" \" ~null \" " , tz = " UTC" )
1326
+ publication_date <- as.POSIXlt(NULL , tz = " UTC" )
1327
1327
1328
1328
# Optional params
1329
1329
opts <- list (
1330
- specific_source = " \" ~null \" " ,
1331
- next_page = " ~null "
1330
+ specific_source = NULL ,
1331
+ next_page = NULL
1332
1332
)
1333
1333
1334
1334
response <- CompanyApi $ get_company_news_body(news_story_id , publication_date , opts )
@@ -1417,10 +1417,10 @@ identifier <- "AAPL"
1417
1417
1418
1418
# Optional params
1419
1419
opts <- list (
1420
- float_date_greater_than = as.Date( " \" ~null \" " ) ,
1421
- float_date_less_than = as.Date( " \" ~null \" " ) ,
1422
- next_page = " ~null " ,
1423
- next_page2 = " ~null "
1420
+ float_date_greater_than = NULL ,
1421
+ float_date_less_than = NULL ,
1422
+ next_page = NULL ,
1423
+ next_page2 = NULL
1424
1424
)
1425
1425
1426
1426
response <- CompanyApi $ get_company_public_float(identifier , opts )
@@ -1510,7 +1510,7 @@ identifier <- "AAPL"
1510
1510
1511
1511
# Optional params
1512
1512
opts <- list (
1513
- next_page = " ~null "
1513
+ next_page = NULL
1514
1514
)
1515
1515
1516
1516
response <- CompanyApi $ get_company_securities(identifier , opts )
@@ -1597,13 +1597,13 @@ identifier <- "AAPL"
1597
1597
1598
1598
# Optional params
1599
1599
opts <- list (
1600
- start_date = as.Date(" \" 2018-01-01\" " ),
1601
- end_date = as.Date(" \" 2019-01-01\" " ),
1600
+ start_date = as.Date(" 2018-01-01" ),
1601
+ end_date = as.Date(" 2019-01-01" ),
1602
1602
ownership_type = " D" ,
1603
- next_page = " ~null " ,
1603
+ next_page = NULL ,
1604
1604
page_size = 1000 ,
1605
- sort_by = " \" updated_on\" " ,
1606
- next_page2 = " ~null "
1605
+ sort_by = " updated_on" ,
1606
+ next_page2 = NULL
1607
1607
)
1608
1608
1609
1609
response <- CompanyApi $ insider_transaction_filings_by_company(identifier , opts )
@@ -1696,7 +1696,7 @@ identifier <- "AAPL"
1696
1696
1697
1697
# Optional params
1698
1698
opts <- list (
1699
- next_page = " ~null "
1699
+ next_page = NULL
1700
1700
)
1701
1701
1702
1702
response <- CompanyApi $ latest_insider_transaction_filing_by_company(identifier , opts )
@@ -1780,8 +1780,8 @@ CompanyApi <- IntrinioSDK::CompanyApi$new(client)
1780
1780
1781
1781
# Required params
1782
1782
identifier <- " AAPL"
1783
- statement_code <- " \" income_statement\" "
1784
- fiscal_period <- " \" FY \" "
1783
+ statement_code <- " income_statement"
1784
+ fiscal_period <- " FY "
1785
1785
fiscal_year <- 2017
1786
1786
1787
1787
response <- CompanyApi $ lookup_company_fundamental(identifier , statement_code , fiscal_period , fiscal_year )
@@ -1951,8 +1951,8 @@ query <- "Apple"
1951
1951
1952
1952
# Optional params
1953
1953
opts <- list (
1954
- active = true ,
1955
- mode = " \" ~null \" " ,
1954
+ active = TRUE ,
1955
+ mode = NULL ,
1956
1956
page_size = 100
1957
1957
)
1958
1958
@@ -1974,7 +1974,7 @@ print(response$content)
1974
1974
Name | Type | Description | Notes
1975
1975
------------- | ------------- | ------------- | -------------
1976
1976
** query** | Character| Search parameters |   ;
1977
- ** active** | Logical| When true , return companies that are actively traded (having stock prices within the past 14 days). When false , return companies that are not actively traded or never have been traded. Not setting this value returns all. Not used when mode is set. | [ optional]   ;
1977
+ ** active** | Logical| When TRUE , return companies that are actively traded (having stock prices within the past 14 days). When FALSE , return companies that are not actively traded or never have been traded. Not setting this value returns all. Not used when mode is set. | [ optional]   ;
1978
1978
** mode** | Character| When set, changes search mode to the specified mode. | [ optional]   ;
1979
1979
** page_size** | Integer| The number of results to return | [ optional] [ default to 100]   ;
1980
1980
<br />
@@ -2042,8 +2042,8 @@ identifier <- "AAPL"
2042
2042
2043
2043
# Optional params
2044
2044
opts <- list (
2045
- end_date_greater_than = as.Date( " \" ~null \" " ) ,
2046
- end_date_less_than = as.Date( " \" ~null \" " )
2045
+ end_date_greater_than = NULL ,
2046
+ end_date_less_than = NULL
2047
2047
)
2048
2048
2049
2049
response <- CompanyApi $ shares_outstanding_by_company(identifier , opts )
0 commit comments