Skip to content

Instantly share code, notes, and snippets.

View abresler's full-sized avatar

Alex Bresler abresler

View GitHub Profile
admit gre gpa rank
0 380 3.61 3
1 660 3.67 3
1 800 4 1
1 640 3.19 4
0 520 2.93 4
1 760 3 2
1 560 2.98 1
0 400 3.08 2
1 540 3.39 3
We couldn’t find that file to show.
We can't make this file beautiful and searchable because it's too large.
typeDocument,idBBL,idBorough,nameBorough,idBlock,idLot,dateDocument,datetimeRecorded,countParties,idReel,idPage,typeLot,urlACRISDocumentMetadata,urlACRISDocumentIMG,urlACRIS,idDocument,isNULLParties,countPages,urlACRISDocumentPDF,idCRFN,hasParties,isCondoLot,amountDocument,pctAreaDocumentID,isAllocatedTransaction,typeClass,isPenthouseUnit,nameUnitBBL,nameClass,dateApportionment,idCommunityBoardDistrict,zipcodeBBL,countSale,isSaleSponsor,nameGranteeBuyer,nameGrantorSeller,typeWRUPartyGranteeBuyer,typeWRUPartyGrantorSeller,yearSale,amountPSF,dateSaleSponsor,countSales,amountSalesTotal,addressBBLBuilding,addressBBL,idBBLBuilding,areaSFGrossBBL,idCondoDOF,classBuilding,nameClassFull
DEED,1011711788,1,MANHATTAN,1171,1788,2019-06-19,2019-07-25T13:21:39Z,2,NA,NA,ENTIRE LOT,https://a836-ACRIS.nyc.gov/DS/DocumentSearch/DocumentDetail?doc_id=2019062700336003,https://a836-ACRIS.nyc.gov/DS/DocumentSearch/DocumentImageView?doc_id=2019062700336003,https://a836-ACRIS.nyc.gov/bblsearch/bblsearch.asp?borough=1&block=1171&lot=
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 33 columns, instead of 32. in line 1.
"id","diagnosis","radius_mean","texture_mean","perimeter_mean","area_mean","smoothness_mean","compactness_mean","concavity_mean","concave points_mean","symmetry_mean","fractal_dimension_mean","radius_se","texture_se","perimeter_se","area_se","smoothness_se","compactness_se","concavity_se","concave points_se","symmetry_se","fractal_dimension_se","radius_worst","texture_worst","perimeter_worst","area_worst","smoothness_worst","compactness_worst","concavity_worst","concave points_worst","symmetry_worst","fractal_dimension_worst",
842302,M,17.99,10.38,122.8,1001,0.1184,0.2776,0.3001,0.1471,0.2419,0.07871,1.095,0.9053,8.589,153.4,0.006399,0.04904,0.05373,0.01587,0.03003,0.006193,25.38,17.33,184.6,2019,0.1622,0.6656,0.7119,0.2654,0.4601,0.1189
842517,M,20.57,17.77,132.9,1326,0.08474,0.07864,0.0869,0.07017,0.1812,0.05667,0.5435,0.7339,3.398,74.08,0.005225,0.01308,0.0186,0.0134,0.01389,0.003532,24.99,23.41,158.8,1956,0.1238,0.1866,0.2416,0.186,0.275,0.08902
84300903,M,19.69,21.25,130,1203,0.1096,0.1599,0.1974,0.1279,
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
typeFile,isActiveForeignPrincipal,countryForeignPrincipal,nameForeignPrincipal,nameRegistrant,countDaysActiveForeignPrincipalFARA,dateRegistrationForeignPrincipal,dateTerminationForeignPrincipal,locationForeignPrincipal,nameForeignPrincipalDetail,idFARA,dateRegistration,addressStreet1ForeignPrincipal,nameRegistrantDetail,addressStreet2ForeignPrincipal,cityForeignPrincipal,stateForeignPrincipal,zipcodeForeignPrincipal,urlFARA
FARA_All_ForeignPrincipals,TRUE,CHINA,"VIRGO STAR, INC. ON BEHALF OF CRRC NORTH AMERICA, INC.",CROSSROADS STRATEGIES LLC,NA,2019-07-18,NA,"ONE ROCKELLER PLAZA SUITE 2802 NEW YORK, NY 10020",NA,6702,2019-07-18,ONE ROCKELLER PLAZA,NA,SUITE 2802,NEW YORK,NY,10020,https://efile.fara.gov/bulk/zip/FARA_All_ForeignPrincipals.xml.zip
FARA_All_ForeignPrincipals,TRUE,CHINA,"IFLYTEK CO., LTD. THROUGH PILLSBURY WINTHROP SHAW PITTMAN LLP","CHARTWELL STRATEGY GROUP, LLC",NA,2019-06-28,NA,"HEFEI CITY, NO. 666 WANGJIANG ROAD WEST ANHUI PROVINCE",NA,6518,2018-02-02,"HEFEI CITY, NO. 666 WANGJIANG ROAD WEST
We can't make this file beautiful and searchable because it's too large.
dateTransaction,sectorInvestment,typeDirection,typeStake,typeInvestment,typeInvestor,countryInvestor,stateInvestment,amountInvestment,monthTransaction,yearTransaction,amountInvestmentCumulativeQuarter,typeStrategy,stateInvestor,isGreenfield
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Inner Mongolia,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Beijing,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Shanghai,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Sichuan,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-01-01,Automotive,us-china,Minority,Greenfield,Private,usa,Chongqing,"$120,000,000",1,2018,"$60,000,000",St
We can't make this file beautiful and searchable because it's too large.
dateTransaction,sectorInvestment,typeDirection,typeStake,typeInvestment,typeInvestor,countryInvestor,stateInvestment,amountInvestment,monthTransaction,yearTransaction,amountInvestmentCumulativeQuarter,typeStrategy,stateInvestor,isGreenfield
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Inner Mongolia,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Beijing,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Shanghai,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-02-01,Information and Communications Technology (ICT),us-china,Controlling,Greenfield,Private,usa,Sichuan,"$160,000,000",2,2018,"$160,000,000",Strategic,CA,TRUE
2018-01-01,Automotive,us-china,Minority,Greenfield,Private,usa,Chongqing,"$120,000,000",1,2018,"$60,000,000",St
docname from to pre keyword post pattern
Adams-1825 5601 5601 of the Pacific and to China still require that the protecting china
Jackson-1831 3907 3907 restrictions may impose . To China and the East Indies our china
van Buren-1838 10469 10469 trade of the Indian and China seas , in the whale china
van Buren-1840 8568 8568 on its way to the China and Indian seas for the china
Tyler-1843 3868 3868 from the United States to China in August of the present china
Tyler-1843 3905 3905 , on his route to China . In regard to the china
Tyler-1843 7229 7229 , the American minister to China , on board . There china
Polk-1845 9090 9090 . The commissioner appointed to China during the special session of china
Polk-1845 9198 9198 concluded with the Emperor of China . Since the return of china
devtools::install_github("abresler/nbastatR")
devtools::install_github("hrbrmisc/curlconverter")
devtools::install_github("abresler/nbastatR")
devtools::install_github("AdeelK93/collapsibleTree")
library(dplyr)
library(nbastatR)
library(collapsibleTree)
df_nba <-
nbastatR::get_data_bref_player_seasons(years = 2017, table = c('advanced', 'totals'))
library(asbmisc)
library(nbastatR)
library(tidyverse)
nbastatR::teams_players_stats(seasons = 2019, tables = "clutch", modes = "Totals")
dict_players <- nbastatR::nba_players()
dataClutchPlayers %>%
filter(fga > 20) %>%
left_join(dict_players %>% select(idPlayer, urlPlayerPhoto)) %>%