I Just Need the PYTHON part
You are asked to scrape (with Python) and analyze (with Stata) data from the U.S. House
of Representatives (Congresses from 110 to 115, i.e., up to date).
Data on House of Representative Bills are available on a few sources on the web: all of
them will be tolerated as soon as a webscraper is involved (i.e., do not simply download
bulk data) and the data is complete. The ProPublica API for bills (last link) is NOT a viable
alternative, but could be a very convenient way to retrieve urls to be scraped and/or double
check the results. A (non-exhaustive) list of sources below:
[login to view URL]
The same websites (plus several others, all of them are tolerated) report data on congress
members’ party affiliation, electoral results, etc., to be scraped. Any output format is
accepted, however I would suggest – due to the analysis requested with Stata – to output
csv files in long format (that is, an observation is a cosponsor/bill couple). There is plenty
of options, though.
Once obtained the data, you will have to use Stata to address (report, and comment in
detail) the following points:
(a) Prepare the data for the analysis (e.g., select variables, sample selection, etc.), and
provide descriptive statistics (at your choice). Discuss
(b) Provide a graphical analysis of the variation in time of the number of cosponsors
(i.e., cosponsorhip) at bill level. Discuss
(c) Analyze the determinants (e.g., any available sponsor’s individual and district
characteristic, etc.) of cosponsorship at bill level, in an OLS framework. Discuss
(d) Using a linear probability model, analyze the relationship between the number of
cosponsors and the probability of a bill passing (i.e., being approved by) the House.
(e) Implement an IV strategy for the effect of cosponsorhip on the probability of a bill
passing the House using as an instrument for cosponsorhip the number of sameparty
representatives from the sponsor’s state of election. Discuss
15 freelancer đang chào giá trung bình €52 cho công việc này
hey, I have read your project details, and can make PYTHON scripts to collect and analyze this data from number of websites as yuou mentioned in your description. Looking forward to discussing details in chat.
Hi, I am Ibrahim and I am a data scientist with expertise in python and stata. I can help you, but woukd like to know your budget and deadline Regards Ibrahim Anjum
Hi there, I’m an expert in python and I have done several projects in this field. Please, check my portfolio and in case you are interested in my services contact me to discuss more and get started.
I love statistical analysis, so this job sounds like a lot of fun! I'm a native English speaker with a data science background, and will be able to deliver on all requirements. Can't wait to talk to you!